diff options
Diffstat (limited to 'eurephiadm/commands/attempts.c')
-rw-r--r-- | eurephiadm/commands/attempts.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/eurephiadm/commands/attempts.c b/eurephiadm/commands/attempts.c index 242d0f5..ff45c12 100644 --- a/eurephiadm/commands/attempts.c +++ b/eurephiadm/commands/attempts.c @@ -1,7 +1,7 @@ /* attempts.c -- eurephiadm attempts command: * Show/edit records registered in the attempts table * - * GPLv2 only - Copyright (C) 2009 - 2010 + * GPLv2 only - Copyright (C) 2009 - 2012 * David Sommerseth <dazo@users.sourceforge.net> * * This program is free software; you can redistribute it and/or @@ -191,9 +191,11 @@ int list_attempts(eurephiaCTX *ctx, eurephiaSESSION *sess, eurephiaVALUES *cfg, case 'h': display_attempts_help('l'); + xmlFreeDoc(srch_xml); return 0; default: + xmlFreeDoc(srch_xml); return 1; } } @@ -274,9 +276,11 @@ int modify_attempts(eurephiaCTX *ctx, eurephiaSESSION *sess, eurephiaVALUES *cfg case 'h': display_attempts_help(mode); + xmlFreeDoc(upd_xml); return 0; default: + xmlFreeDoc(upd_xml); return 1; } } |