]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/os-ip.c
Apply Novell's IN_KERNEL support (ITS#576)
[openldap] / libraries / libldap / os-ip.c
index f150eb4ff6c0043a6239b4aeb8eb102dc0bbc9f3..e300711817129e7e17a89f492271d13e17c53c8f 100644 (file)
@@ -67,7 +67,7 @@ ldap_int_timeval_dup( struct timeval **dest, const struct timeval *src )
                return 0;
        }
 
-       new = (struct timeval *) malloc(sizeof(struct timeval));
+       new = (struct timeval *) LDAP_MALLOC(sizeof(struct timeval));
 
        if( new == NULL ) {
                *dest = NULL;