From 181b23ceed77de50c2b9d05a92a795cce1beabb9 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 3 Mar 2011 22:29:39 +0100 Subject: nsswitch: wbcFreeMemory deals fine with NULL --- nsswitch/pam_winbind.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'nsswitch/pam_winbind.c') diff --git a/nsswitch/pam_winbind.c b/nsswitch/pam_winbind.c index e651ce0e49..e640b711bd 100644 --- a/nsswitch/pam_winbind.c +++ b/nsswitch/pam_winbind.c @@ -1899,9 +1899,7 @@ static int winbind_auth_request(struct pwb_context *ctx, } done: - if (logon.blobs) { - wbcFreeMemory(logon.blobs); - } + wbcFreeMemory(logon.blobs); if (info && info->blobs && !p_info) { wbcFreeMemory(info->blobs); } -- cgit