/* -*-c-*-
*
- * $Id: lmem.c,v 1.6 2004/04/08 01:36:15 mdw Exp $
+ * $Id$
*
* Locked memory allocation (Unix-specific)
*
}
memset(lm->p, 0, lm->sz);
+#ifdef HAVE_MLOCK
if (lm->f & LF_LOCKED)
munmap(lm->p, lm->sz);
else
- free(lm->p);
+#endif
+ free(lm->p); /*sic*/
}
/* --- @l_report@ --- *