Use XFree to release X11 allocated data

This commit is contained in:
Gabriel Jacobo
2013-03-01 13:28:07 -03:00
parent f0cedf0cae
commit 25e56a6f4a

View File

@@ -593,13 +593,13 @@ X11_InitModes(_THIS)
SDL_strlcpy(display_name, info->dsc_product_name, sizeof(display_name));
free(info);
}
SDL_free(prop);
XFree(prop);
}
break;
}
}
if (props) {
SDL_free(props);
XFree(props);
}
if (*display_name && inches) {