[389-commits] ldap/servers

Mark Reynolds mreynolds at fedoraproject.org
Mon Aug 6 19:37:28 UTC 2012


 ldap/servers/plugins/dna/dna.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 60316fc548f6bc6dd1c53f8133cdc302f2aecbd2
Author: Mark Reynolds <mreynolds at redhat.com>
Date:   Mon Aug 6 15:34:55 2012 -0400

    Ticket 407 - dna memory leak
    
    One line change to fix crash.  Had a '&' where it wasn't needed.
    
    https://fedorahosted.org/389/ticket/407

diff --git a/ldap/servers/plugins/dna/dna.c b/ldap/servers/plugins/dna/dna.c
index 70d9c6b..34d67ab 100644
--- a/ldap/servers/plugins/dna/dna.c
+++ b/ldap/servers/plugins/dna/dna.c
@@ -3260,7 +3260,7 @@ dna_pre_op(Slapi_PBlock * pb, int modtype)
             goto bail;
         }
         smods = slapi_mods_new();
-        slapi_mods_init_passin(&smods, mods);
+        slapi_mods_init_passin(smods, mods);
     }
 
     /* For a MOD, we need to check the resulting entry */




More information about the 389-commits mailing list