* svr_iters.c (kadm5_get_either): For POSIX_REGEXPS
(i.e. regcomp), call regfree() to cleanup memory.
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15116
dc483132-0cff-0310-8789-
dd5450dbe970
+2003-01-12 Ezra Peisach <epeisach@bu.edu>
+
+ * svr_iters.c (kadm5_get_either): For POSIX_REGEXPS
+ (i.e. regcomp), call regfree() to cleanup memory.
+
2003-01-10 Ken Raeburn <raeburn@mit.edu>
* Makefile.in: Add AC_SUBST_FILE marker for lib_frag and libobj_frag.
}
free(regexp);
+#ifdef POSIX_REGEXPS
+ regfree(&data.preg);
+#endif
if (ret == OSA_ADB_OK && data.malloc_failed)
ret = ENOMEM;
if (ret != OSA_ADB_OK) {