Malloc enough memory, from Brian Scott.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23726 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-09-02 09:11:48 +00:00
parent 9ec328f91b
commit 0c425c680b

View File

@@ -223,7 +223,7 @@ LDAP_addmod_len(LDAPMod *** modlist, int modop, const char *attribute,
(*modlist)[cMods]->mod_bvalues = bv;
bv[i] = ber_memalloc(sizeof(*bv));;
bv[i] = ber_memalloc(sizeof(**bv));;
if (bv[i] == NULL)
return ENOMEM;