Fixed freeing uninitialized pointers on failure cleanup in tests.

This commit is contained in:
Philipp Wiesemann 2015-10-07 21:16:59 +02:00
parent 5bc93cc5c6
commit d80f45666b
1 changed files with 4 additions and 4 deletions

View File

@ -1522,10 +1522,10 @@ video_getSetWindowData(void *arg)
const char *referenceName2 = "TestName2"; const char *referenceName2 = "TestName2";
const char *name2 = "TestName2"; const char *name2 = "TestName2";
int datasize; int datasize;
char *referenceUserdata; char *referenceUserdata = NULL;
char *userdata; char *userdata = NULL;
char *referenceUserdata2; char *referenceUserdata2 = NULL;
char *userdata2; char *userdata2 = NULL;
char *result; char *result;
int iteration; int iteration;