]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/zn_malloc.c
ACIs almost entirely factored out of slapd
[openldap] / servers / slapd / zn_malloc.c
index ff9a25bf5a971972aadb6a9ad8cf60bcc20bd3fe..eb2f035de651b1b99406bf5f592e2a95206cfe55 100644 (file)
@@ -542,7 +542,7 @@ slap_zn_free(void *ptr, void *ctx)
                                                Debug(LDAP_DEBUG_ANY, "slap_zn_free: "
                                                        "free object not found while bit is clear.\n",
                                                        0, 0, 0);
-                                               assert(zo);
+                                               assert(zo != NULL);
 
                                        }
                                } else {
@@ -604,7 +604,7 @@ slap_zn_free(void *ptr, void *ctx)
                                                Debug(LDAP_DEBUG_ANY, "slap_zn_free: "
                                                        "free object not found while bit is clear.\n",
                                                        0, 0, 0 );
-                                               assert( zo );
+                                               assert(zo != NULL);
 
                                        }
                                } else {