Skip to content
Snippets Groups Projects
Commit cd628d8e authored by Xiaohong Bao's avatar Xiaohong Bao
Browse files

merge the fix of SNOW-793: memory leak in LLImageFormatted::appendData

parent aaa41211
No related branches found
No related tags found
No related merge requests found
......@@ -1553,6 +1553,7 @@ void LLImageFormatted::appendData(U8 *data, S32 size)
S32 newsize = cursize + size;
reallocateData(newsize);
memcpy(getData() + cursize, data, size);
delete[] data;
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment