diff options
-rw-r--r-- | ldap/servers/plugins/replication/repl5_total.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldap/servers/plugins/replication/repl5_total.c b/ldap/servers/plugins/replication/repl5_total.c index 5bf37428..d2987cdb 100644 --- a/ldap/servers/plugins/replication/repl5_total.c +++ b/ldap/servers/plugins/replication/repl5_total.c @@ -689,7 +689,7 @@ my_ber_scanf_attr (BerElement *ber, Slapi_Attr **attr, PRBool *deleted) return 0; loser: - if (*attr) + if (attr && *attr) slapi_attr_free (attr); if (value) slapi_value_free (&value); |