]> git.sur5r.net Git - openldap/commitdiff
plug one-time leak
authorPierangelo Masarati <ando@openldap.org>
Mon, 19 Oct 2009 23:39:59 +0000 (23:39 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 19 Oct 2009 23:39:59 +0000 (23:39 +0000)
servers/slapd/oc.c

index 3ba9501db39cea3f71c32f17f830b25ba21cf897..7ea35fdace519257307769495400520ce948d93f 100644 (file)
@@ -807,6 +807,10 @@ done:;
                        ch_free( soc->soc_allowed );
                }
 
+               if ( soc->soc_oidmacro ) {
+                       ch_free( soc->soc_oidmacro );
+               }
+
                ch_free( soc );
 
        } else if ( rsoc ) {