diff options
Diffstat (limited to 'eurephiadm/commands/users.c')
-rw-r--r-- | eurephiadm/commands/users.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/eurephiadm/commands/users.c b/eurephiadm/commands/users.c index 033e6d2..52cf253 100644 --- a/eurephiadm/commands/users.c +++ b/eurephiadm/commands/users.c @@ -1,6 +1,6 @@ /* users.c -- eurephiadm command - User Account Management * - * GPLv2 only - Copyright (C) 2008 - 2010 + * GPLv2 only - Copyright (C) 2008 - 2012 * David Sommerseth <dazo@users.sourceforge.net> * * This program is free software; you can redistribute it and/or @@ -345,9 +345,11 @@ int show_user(eurephiaCTX *ctx, eurephiaSESSION *sess, eurephiaVALUES *cfg, int case 'h': display_users_help('s'); + xmlFreeDoc(srch_xml); return 0; default: + xmlFreeDoc(srch_xml); return 1; } } @@ -517,6 +519,7 @@ int account_activation(eurephiaCTX *ctx, eurephiaSESSION *sess, eurephiaVALUES * case 'h': display_users_help(actmode); + xmlFreeDoc(srch_xml); return 0; case 'P': @@ -524,6 +527,7 @@ int account_activation(eurephiaCTX *ctx, eurephiaSESSION *sess, eurephiaVALUES * break; default: + xmlFreeDoc(srch_xml); return 1; } } |