Closed a memory leak about system area buffer. Found by valgrind.
This commit is contained in:
parent
135721a868
commit
6fdf7a5fae
@ -1089,6 +1089,8 @@ int isoburn_igopt_destroy(struct isoburn_imgen_opts **o, int flag)
|
||||
for(i= 0; i < Libisoburn_max_appended_partitionS; i++)
|
||||
if((*o)->appended_partitions[i] != NULL)
|
||||
free((*o)->appended_partitions[i]);
|
||||
if ((*o)->system_area_data != NULL)
|
||||
free((*o)->system_area_data);
|
||||
free(*o);
|
||||
*o= NULL;
|
||||
return(1);
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2012.05.25.190220"
|
||||
#define Xorriso_timestamP "2012.05.26.212559"
|
||||
|
Loading…
Reference in New Issue
Block a user