projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace free() with mh_free0()
[mmh]
/
uip
/
anno.c
diff --git
a/uip/anno.c
b/uip/anno.c
index
66e62c5
..
81ad042
100644
(file)
--- a/
uip/anno.c
+++ b/
uip/anno.c
@@
-342,7
+342,7
@@
annolist(char *file, unsigned char *comp, int number)
} while (*field && *field != '-');
- free(field);
+ mh_free0(&field);
fclose(fp);
return;
@@
-542,7
+542,7
@@
dodel(int fd, unsigned char *comp, char *text, FILE *tmp, int number)
} while (*field && *field != '-');
- free(field);
+ mh_free0(&field);
fflush(tmp);
fflush(fp); /* The underlying fd will be closed by lkclose() */