summaryrefslogtreecommitdiff
path: root/plugins/smartcard
diff options
context:
space:
mode:
authormonsta <[email protected]>2014-11-02 12:13:27 +0300
committerinfirit <[email protected]>2014-11-28 09:06:14 +0100
commit1d568e8f925a24a88422e74afc65405fbf171e3a (patch)
treef0f9c9a03c0b9dbac28c9fb620751a6b5a21a68a /plugins/smartcard
parenteb0515688e368e97fdf93b1083b233f0ae732948 (diff)
downloadmate-settings-daemon-1d568e8f925a24a88422e74afc65405fbf171e3a.tar.bz2
mate-settings-daemon-1d568e8f925a24a88422e74afc65405fbf171e3a.tar.xz
init var properly (g_free will be happy)
Diffstat (limited to 'plugins/smartcard')
-rw-r--r--plugins/smartcard/msd-smartcard-manager.c2
1 files changed, 1 insertions, 1 deletions
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;