]> git.deb.at Git - pkg/abook.git/blobdiff - options.c
- replace abook_malloc, abook_realloc and my_free with new xmalloc routines
[pkg/abook.git] / options.c
index 81fecde44fe7015f2802f3b43e9061e60e068c6a..d43f0e725793683162fcbd0b5ce31595afeda445 100644 (file)
--- a/options.c
+++ b/options.c
@@ -388,7 +388,8 @@ load_opts(char *filename)
                                err += opt_parse_line(line, n, filename) ? 1:0;
                }
 
-               my_free(line);
+               free(line);
+               line = NULL;
        }
 
        free(line);