src/render/psp/SDL_render_psp.c
changeset 7096 640f553441e4
parent 7037 3fedf1f25b94
child 7191 75360622e65f
     1.1 --- a/src/render/psp/SDL_render_psp.c	Tue Apr 23 16:44:54 2013 -0300
     1.2 +++ b/src/render/psp/SDL_render_psp.c	Tue Apr 23 16:54:52 2013 -0300
     1.3 @@ -990,9 +990,9 @@
     1.4  
     1.5  	if(psp_texture->data != 0)
     1.6  	{
     1.7 -		free(psp_texture->data);
     1.8 +		SDL_free(psp_texture->data);
     1.9  	}
    1.10 -	free(texture);
    1.11 +	SDL_free(psp_texture);
    1.12  	texture->driverdata = NULL;
    1.13  }
    1.14