Skip to content

Commit

Permalink
Merge pull request #1434 from FreeRADIUS/revert-1430-fix/leak1
Browse files Browse the repository at this point in the history
Revert "Fixed memory leak with fr_dict_init()"
  • Loading branch information
arr2036 committed Dec 7, 2015
2 parents 50f8976 + a9307a8 commit 7b2cbde
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib/dict.c
Expand Up @@ -2178,7 +2178,6 @@ int fr_dict_init(TALLOC_CTX *ctx, fr_dict_t **out, char const *dir, char const *
dict->vendors_by_name = fr_hash_table_create(dict, dict_vendor_name_hash, dict_vendor_name_cmp, hash_pool_free);
if (!dict->vendors_by_name) {
error:
if (dict->value_fixup) free(dict->value_fixup);
talloc_free(dict);
return -1;
}
Expand Down

0 comments on commit 7b2cbde

Please sign in to comment.