]> git.sur5r.net Git - openldap/commitdiff
intercept errors from maps
authorPierangelo Masarati <ando@openldap.org>
Sat, 28 Feb 2004 12:04:06 +0000 (12:04 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 28 Feb 2004 12:04:06 +0000 (12:04 +0000)
libraries/librewrite/subst.c

index 8de7f7894051a94b45376d9fdbcca8f18b60c09d..1ec0af7dc923fe2613eaf0abdbb3696117b95ee3 100644 (file)
@@ -387,6 +387,7 @@ rewrite_subst_apply(
 
                if ( rc != REWRITE_SUCCESS ) {
                        rc = REWRITE_REGEXEC_ERR;
+                       goto cleanup;
                }
                
                /*