mirror of https://github.com/encounter/SDL.git
Fixed freeing uninitialized pointers on failure cleanup in tests.
This commit is contained in:
parent
5bc93cc5c6
commit
d80f45666b
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue