Sophie

Sophie

distrib > Mandriva > 2007.1 > x86_64 > by-pkgid > 66ca59f7b5a851d90f009e26f4553155 > files > 16

SDL12-1.2.11-7mdv2007.1.src.rpm

--- src/cdrom/linux/SDL_syscdrom.c~	2006-05-01 10:02:43.000000000 +0200
+++ src/cdrom/linux/SDL_syscdrom.c	2006-08-20 22:44:54.000000000 +0200
@@ -218,7 +218,7 @@
 			if ( SDL_strcmp(mnt_type, MNTTYPE_SUPER) == 0 ) {
 				tmp = SDL_strstr(mntent->mnt_opts, "fs=");
 				if ( tmp ) {
-					SDL_free(mnt_type);
+                                       SDL_stack_free(mnt_type);
 					mnt_type = SDL_strdup(tmp + SDL_strlen("fs="));
 					if ( mnt_type ) {
 						tmp = SDL_strchr(mnt_type, ',');
@@ -229,7 +229,7 @@
 				}
 				tmp = SDL_strstr(mntent->mnt_opts, "dev=");
 				if ( tmp ) {
-					SDL_free(mnt_dev);
+                                       SDL_stack_free(mnt_dev);
 					mnt_dev = SDL_strdup(tmp + SDL_strlen("dev="));
 					if ( mnt_dev ) {
 						tmp = SDL_strchr(mnt_dev, ',');