aboutsummaryrefslogtreecommitdiff
path: root/src/zonefile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/zonefile.c')
-rw-r--r--src/zonefile.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/zonefile.c b/src/zonefile.c
index a15b374..1b0d036 100644
--- a/src/zonefile.c
+++ b/src/zonefile.c
@@ -137,6 +137,9 @@ int zonefile_to_database (database_t *_database, char* _file) {
line = NULL;
}
+ if(line)
+ free(line);
+
fclose(zfile);
return 0;
}