make code more readable.
[apps/madmutt.git] / regex.c
diff --git a/regex.c b/regex.c
index ac6ede9..0e11f18 100644 (file)
--- a/regex.c
+++ b/regex.c
@@ -20,8 +20,8 @@
  * 
  * You should have received a copy of the GNU Library General Public
  * License along with the GNU C Library; see the file COPYING.LIB.  If not,
- * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.  
+ * write to the Free Software Foundation, Inc., 51 Franklin Street,
+ * Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
 /*
@@ -98,7 +98,7 @@
 #include "lisp.h"
 #include "buffer.h"
 #include "syntax.h"
-#include "lib/str.h"
+#include <lib-lib/str.h>
 
 #else /* not emacs */
 
@@ -3634,7 +3634,7 @@ re_search_2 (bufp, string1, size1, string2, size2, startpos, range, regs,
 
 /* Free everything we malloc.  */
 #ifdef MATCH_MAY_ALLOCATE
-#define mem_free_VAR(var) if (var) REGEX_mem_free (var); var = NULL
+#define mem_free_VAR(var) if (var) REGEX_p_delete(var); var = NULL
 #define mem_free_VARIABLES()                                                \
   do {                                                                        \
     REGEX_mem_free_STACK (fail_stack.stack);                                \