Skip to content

Commit

Permalink
Free the jobs before the db.
Browse files Browse the repository at this point in the history
Indeed, it will use the db to unlock it.
  • Loading branch information
jlaffaye committed Apr 22, 2012
1 parent c20915a commit bd642f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/delete.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,9 @@ exec_delete(int argc, char **argv)
retcode = 0;

cleanup:
pkg_jobs_free(jobs);
pkgdb_it_free(it);
pkgdb_close(db);
pkg_jobs_free(jobs);

return (retcode);
}

0 comments on commit bd642f1

Please sign in to comment.