Compare commits

..

3 Commits

Author SHA1 Message Date
71270599b8 - Fixed reference counting in iso_volset_new().
- Plugged memory leak in iso_volset_free().
2007-01-25 15:46:45 +00:00
e8c4da784f Changed micro version to affect 0.2.4 2007-01-03 19:17:44 +00:00
fe66983e82 Deleted obsolete Makefile.am 2007-01-03 16:06:39 +00:00

View File

@ -20,8 +20,6 @@ iso_volset_new(struct iso_volume *vol, const char *id)
volset->volume = malloc(sizeof(void *));
volset->volume[0] = vol;
volset->volset_id = strdup(id);
vol->refcount++;
return volset;
}
@ -35,6 +33,7 @@ iso_volset_free(struct iso_volset *volset)
}
free(volset->volume);
free(volset->volset_id);
free(volset);
}
}