Skip to content

Commit

Permalink
Sealing a memory leak in sql database_clear_backups
Browse files Browse the repository at this point in the history
  • Loading branch information
mwatts15 committed Jan 19, 2015
1 parent 1045d42 commit ca62e03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sql.c
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ gboolean unlink_func (gpointer key, gpointer val, gpointer data)

sprintf(src, "%s/%s", db_directory, orig_name);
unlink(src);
g_free((gpointer)db_directory);
return FALSE;
}

Expand Down

0 comments on commit ca62e03

Please sign in to comment.