Pārlūkot izejas kodu

Ticket 407 - dna memory leak

One line change to fix crash.  Had a '&' where it wasn't needed.

https://fedorahosted.org/389/ticket/407
Mark Reynolds 13 gadi atpakaļ
vecāks
revīzija
60316fc548
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;
             goto bail;
         }
         }
         smods = slapi_mods_new();
         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 */
     /* For a MOD, we need to check the resulting entry */