IMG_pnm.c
changeset 367 b2aa197f6774
parent 347 ad5034cad524
child 368 8a61842d00ce
     1.1 --- a/IMG_pnm.c	Tue Apr 23 20:15:22 2013 -0700
     1.2 +++ b/IMG_pnm.c	Thu Apr 25 00:22:51 2013 -0700
     1.3 @@ -229,7 +229,7 @@
     1.4  		row += surface->pitch;
     1.5  	}
     1.6  done:
     1.7 -	free(buf);
     1.8 +	SDL_free(buf);
     1.9  	if(error) {
    1.10  		SDL_RWseek(src, start, RW_SEEK_SET);
    1.11  		if ( surface ) {