Fixes some memory leaks
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@647 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
2
init.c
2
init.c
@@ -180,6 +180,8 @@ void Rechercher_drives(void)
|
||||
#if !(defined(__macosx__) || defined(__FreeBSD__))
|
||||
free(Liste_points_montage -> me_type);
|
||||
#endif
|
||||
free(Liste_points_montage -> me_devname);
|
||||
free(Liste_points_montage -> me_mountdir);
|
||||
free(Liste_points_montage);
|
||||
Liste_points_montage = next;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user