card: Fix memory leak for fetch-url sub command.
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 12 Jun 2018 06:54:18 +0000 (15:54 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 12 Jun 2018 06:54:18 +0000 (15:54 +0900)
* g10/card-util.c (fetch_url): Release INFO.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
g10/card-util.c

index 587f181..b7eedc0 100644 (file)
@@ -851,6 +851,7 @@ fetch_url (ctrl_t ctrl)
        }
     }
 
+  agent_release_card_info (&info);
   return rc;
 }