aboutsummaryrefslogtreecommitdiff
path: root/ch6/6-05_undef.c
diff options
context:
space:
mode:
Diffstat (limited to 'ch6/6-05_undef.c')
-rw-r--r--ch6/6-05_undef.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ch6/6-05_undef.c b/ch6/6-05_undef.c
index d65f435..40ac87e 100644
--- a/ch6/6-05_undef.c
+++ b/ch6/6-05_undef.c
@@ -79,7 +79,7 @@ struct nlist *install(char *name, char *defn) {
np->next = hashtab[hashval];
hashtab[hashval] = np;
} else {
- free ((void *) np->defn);
+ free((void *) np->defn);
}
if ((np->defn = strdup(defn)) == NULL) {
return NULL;