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 *name2 = "TestName2";
|
||||
int datasize;
|
||||
char *referenceUserdata;
|
||||
char *userdata;
|
||||
char *referenceUserdata2;
|
||||
char *userdata2;
|
||||
char *referenceUserdata = NULL;
|
||||
char *userdata = NULL;
|
||||
char *referenceUserdata2 = NULL;
|
||||
char *userdata2 = NULL;
|
||||
char *result;
|
||||
int iteration;
|
||||
|
||||
|
|
Loading…
Reference in New Issue