diff options
author | Alon Levy <alevy@redhat.com> | 2011-09-27 17:18:50 +0300 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-10-25 15:44:02 +0200 |
commit | 7fc7e5844cd3f5018c0853268f1bc173572e5fb7 (patch) | |
tree | ece65b46b0d37bfa4bb4c0f97e1ba321ca7504b7 /libcacard | |
parent | 952e849c150b4f1b89f8728cba00f925c1d6e75b (diff) |
libcacard/cac: fix typo in cac_delete_pki_applet_private
Signed-off-by: Alon Levy <alevy@redhat.com>
Diffstat (limited to 'libcacard')
-rw-r--r-- | libcacard/cac.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libcacard/cac.c b/libcacard/cac.c index f4b0b1b057..927a4ca296 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); |