libcacard/cac: fix typo in cac_delete_pki_applet_private

Signed-off-by: Alon Levy <alevy@redhat.com>
This commit is contained in:
Alon Levy 2011-09-27 17:18:50 +03:00
parent 952e849c15
commit 7fc7e5844c

View File

@ -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);