Skip to content

Commit

Permalink
Free the main config after modules...
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Dec 17, 2015
1 parent 2d76cc7 commit 4bb051f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/radiusd.c
Expand Up @@ -641,13 +641,13 @@ int main(int argc, char *argv[])
talloc_free(global_state); /* Free state entries */

cleanup:
main_config_free(); /* Free the main config */

modules_free(); /* Detach any modules (and their connection pools) */
xlat_free(); /* modules may have xlat's */

map_proc_free(); /* Free map processors (must be done after modules) */

main_config_free(); /* Free the main config (must be done after modules) */

#ifdef WIN32
WSACleanup();
#endif
Expand Down

0 comments on commit 4bb051f

Please sign in to comment.