aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-09-27 17:18:50 +0300
committerAlon Levy <alevy@redhat.com>2011-10-25 15:44:02 +0200
commit7fc7e5844cd3f5018c0853268f1bc173572e5fb7 (patch)
treeece65b46b0d37bfa4bb4c0f97e1ba321ca7504b7
parent952e849c150b4f1b89f8728cba00f925c1d6e75b (diff)
downloadqemu-7fc7e5844cd3f5018c0853268f1bc173572e5fb7.zip
qemu-7fc7e5844cd3f5018c0853268f1bc173572e5fb7.tar.gz
qemu-7fc7e5844cd3f5018c0853268f1bc173572e5fb7.tar.bz2
libcacard/cac: fix typo in cac_delete_pki_applet_private
Signed-off-by: Alon Levy <alevy@redhat.com>
-rw-r--r--libcacard/cac.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcacard/cac.c b/libcacard/cac.c
index f4b0b1b..927a4ca 100644
--- a/libcacard/cac.c
+++ b/libcacard/cac.c
@@ -266,7 +266,8 @@ static void
cac_delete_pki_applet_private(VCardAppletPrivate *applet_private)
{
CACPKIAppletData *pki_applet_data = NULL;
- if (pki_applet_data == NULL) {
+
+ if (applet_private == NULL) {
return;
}
pki_applet_data = &(applet_private->u.pki_data);