test/testautomation_video.c
changeset 7065 e171653481d4
parent 7062 c0a739679bbd
child 7066 d61902a0bc21
equal deleted inserted replaced
7064:239ce872e8d4 7065:e171653481d4
  1520   referenceUserdata =  SDLTest_RandomAsciiStringOfSize(datasize);
  1520   referenceUserdata =  SDLTest_RandomAsciiStringOfSize(datasize);
  1521   if (referenceUserdata == NULL) { 
  1521   if (referenceUserdata == NULL) { 
  1522   	returnValue = TEST_ABORTED; 
  1522   	returnValue = TEST_ABORTED; 
  1523   	goto cleanup; 
  1523   	goto cleanup; 
  1524   }
  1524   }
  1525   userdata = (char *)strdup(referenceUserdata);
  1525   userdata = SDL_strdup(referenceUserdata);
  1526   if (userdata == NULL) {
  1526   if (userdata == NULL) {
  1527   	returnValue = TEST_ABORTED; 
  1527   	returnValue = TEST_ABORTED; 
  1528   	goto cleanup; 
  1528   	goto cleanup; 
  1529   }
  1529   }
  1530   datasize = SDLTest_RandomIntegerInRange(1, 32); 
  1530   datasize = SDLTest_RandomIntegerInRange(1, 32);