Browse Source

Ticket 407 - dna memory leak - fix crash from prev fix

Previous fix added a '&' to a pointer that should not have been added.
Mark Reynolds 13 years ago
parent
commit
4a6bcefa11
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ldap/servers/plugins/dna/dna.c

+ 1 - 1
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 */