From 1d568e8f925a24a88422e74afc65405fbf171e3a Mon Sep 17 00:00:00 2001 From: monsta Date: Sun, 2 Nov 2014 12:13:27 +0300 Subject: init var properly (g_free will be happy) --- plugins/smartcard/msd-smartcard-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/smartcard/msd-smartcard-manager.c b/plugins/smartcard/msd-smartcard-manager.c index 2349938..4702afb 100644 --- a/plugins/smartcard/msd-smartcard-manager.c +++ b/plugins/smartcard/msd-smartcard-manager.c @@ -1090,7 +1090,7 @@ msd_smartcard_manager_worker_watch_for_and_process_event (MsdSmartcardManagerWor GError **error) { PK11SlotInfo *slot; - CK_SLOT_ID slot_id, *key; + CK_SLOT_ID slot_id, *key = NULL; int slot_series, card_slot_series; MsdSmartcard *card; GError *processing_error; -- cgit v1.2.1