Free handle storage.
[miniexpect.git] / miniexpect.c
index eca8e9a..7f02584 100644 (file)
@@ -80,6 +80,8 @@ mexp_close (mexp_h *h)
       return -1;
   }
 
+  free (h);
+
   return status;
 }