Skip to content

Commit

Permalink
home server free should verify pointer with talloc_get_type_abort
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Dec 30, 2014
1 parent 3ad4592 commit 3bfbcc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/realms.c
Expand Up @@ -128,7 +128,7 @@ static int realm_name_cmp(void const *one, void const *two)
#ifdef WITH_PROXY
static void home_server_free(void *data)
{
home_server_t *home = data;
home_server_t *home = talloc_get_type_abort(data, home_server_t);

talloc_free(home);
}
Expand Down

0 comments on commit 3bfbcc6

Please sign in to comment.