Replace free and return NULL with return mfree
This commit is contained in:
+1
-3
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user