diff --git a/lib/commonio.c b/lib/commonio.c index 40e62298..a0449c83 100644 --- a/lib/commonio.c +++ b/lib/commonio.c @@ -1060,6 +1060,8 @@ int commonio_remove (struct commonio_db *db, const char *name) db->ops->free (p->eptr); } + free(p); + return 1; }