Author: chromatic
Date: Wed Mar 28 18:56:51 2007
New Revision: 17826
Modified:
trunk/src/packfile.c
Log:
Free all PackFile fixup names, regardless of fixup type; they all get names
anyway.
Modified: trunk/src/packfile.c
==============================================================================
--- trunk/src/packfile.c (original)
+++ trunk/src/packfile.c Wed Mar 28 18:56:51 2007
@@ -2627,12 +2627,8 @@
}
for (i = 0; i < self->fixup_count; i++) {
- switch (self->fixups[i]->type) {
- case enum_fixup_label:
- mem_sys_free(self->fixups[i]->name);
- self->fixups[i]->name = NULL;
- break;
- }
+ mem_sys_free(self->fixups[i]->name);
+ self->fixups[i]->name = NULL;
mem_sys_free(self->fixups[i]);
self->fixups[i] = NULL;
}