Skip to content

Commit

Permalink
Fixed freeing uninitialized pointers on failure cleanup in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Oct 7, 2015
1 parent 5bc93cc commit d80f456
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/testautomation_video.c
Expand Up @@ -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;

Expand Down

0 comments on commit d80f456

Please sign in to comment.