diff options
-rw-r--r-- | lib/ldb-samba/ldb_matching_rules.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ldb-samba/ldb_matching_rules.c b/lib/ldb-samba/ldb_matching_rules.c index 26f4d4ed3b5..dc381854ab8 100644 --- a/lib/ldb-samba/ldb_matching_rules.c +++ b/lib/ldb-samba/ldb_matching_rules.c @@ -428,20 +428,20 @@ static int dsdb_match_for_dns_to_tombstone_time(struct ldb_context *ldb, } if (rec->wType == DNS_TYPE_SOA || rec->wType == DNS_TYPE_NS) { - TALLOC_FREE(tmp_ctx); + TALLOC_FREE(rec); continue; } if (rec->wType == DNS_TYPE_TOMBSTONE) { - TALLOC_FREE(tmp_ctx); + TALLOC_FREE(rec); continue; } if (rec->dwTimeStamp == 0) { - TALLOC_FREE(tmp_ctx); + TALLOC_FREE(rec); continue; } if (rec->dwTimeStamp > tombstone_time) { - TALLOC_FREE(tmp_ctx); + TALLOC_FREE(rec); continue; } |