diff options
Diffstat (limited to 'datafiles.c')
-rw-r--r-- | datafiles.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/datafiles.c b/datafiles.c index cbd031cd8..5a5512e80 100644 --- a/datafiles.c +++ b/datafiles.c @@ -187,6 +187,9 @@ static dbFILE *open_db_write(const char *service, const char *filename, #else ; #endif + /* Then the Lord said unto Moses, thou shalt free what thou hast malloced + * -- codemastr */ + free(f); errno = errno_save; return NULL; } |