Replace free and return NULL with return mfree

This commit is contained in:
Daniel Lockyer
2017-11-24 10:31:49 +00:00
parent 71050acb68
commit 5fecf46d76
10 changed files with 10 additions and 22 deletions
+1 -3
View File
@@ -127,9 +127,7 @@ khash* khash_unref(khash *h) {
safe_close(h->fd);
free(h->algorithm);
free(h);
return NULL;
return mfree(h);
}
int khash_dup(khash *h, khash **ret) {