]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/backend.c
Fix C errors
[openldap] / servers / slapd / backend.c
index 3233f65e8fe44a12493a5c08a3ae6b1c38efca6f..8bb21b559161b42b5437ee0607d6ddc1ff8efe22 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2006 The OpenLDAP Foundation.
+ * Copyright 1998-2007 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -422,7 +422,7 @@ void backend_destroy_one( BackendDB *bd, int dynamic )
        }
 
        if ( bd->be_syncinfo ) {
-               syncinfo_free( bd->be_syncinfo );
+               syncinfo_free( bd->be_syncinfo, 1 );
        }
 
        backend_stopdown_one( bd );