diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-08-27 19:46:11 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-08-28 07:57:29 +1000 |
commit | 43904cb4f5e775a5ba72553d1a59ffd30204a83d (patch) | |
tree | 5457aebcf364715bed624c8aab376a545c58d6cf /source4 | |
parent | 8c205395c69fd4cfdde87441589395c782219e1e (diff) | |
download | samba-43904cb4f5e775a5ba72553d1a59ffd30204a83d.tar.gz samba-43904cb4f5e775a5ba72553d1a59ffd30204a83d.tar.bz2 samba-43904cb4f5e775a5ba72553d1a59ffd30204a83d.zip |
s4-dsdb: Remove double-free in update_keytab module
Diffstat (limited to 'source4')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/update_keytab.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/update_keytab.c b/source4/dsdb/samdb/ldb_modules/update_keytab.c index f07d9b2aad..bec4a83abf 100644 --- a/source4/dsdb/samdb/ldb_modules/update_keytab.c +++ b/source4/dsdb/samdb/ldb_modules/update_keytab.c @@ -109,14 +109,12 @@ static int add_modified(struct ldb_module *module, struct ldb_dn *dn, bool do_de if (res->count != 1) { /* if it's not a kerberosSecret then we don't have anything to update */ talloc_free(res); - talloc_free(filter); return LDB_SUCCESS; } item = talloc(data->changed_dns? (void *)data->changed_dns: (void *)data, struct dn_list); if (!item) { talloc_free(res); - talloc_free(filter); return ldb_oom(ldb); } |