Replaced free() with SDL_free() because related allocation also uses wrapper.

This commit is contained in:
Philipp Wiesemann 2014-12-04 21:41:30 +01:00
parent fa7a90f2bb
commit 518802a5c1
3 changed files with 4 additions and 4 deletions

View file

@ -551,7 +551,7 @@ SDL_SYS_HapticOpenFromService(SDL_Haptic * haptic, io_service_t service)
FFReleaseDevice(haptic->hwdata->device);
creat_err:
if (haptic->hwdata != NULL) {
free(haptic->hwdata);
SDL_free(haptic->hwdata);
haptic->hwdata = NULL;
}
return -1;