Check for NULL on malloc errors, not non-NULL.

Index: libpam-mount-2.14~zgit3+966c6bea/src/spawn.c
===================================================================
--- libpam-mount-2.14~zgit3+966c6bea.orig/src/spawn.c	2013-04-09 02:16:46.000000000 +0200
+++ libpam-mount-2.14~zgit3+966c6bea/src/spawn.c	2013-07-18 13:22:39.769433772 +0200
@@ -84,7 +84,7 @@ static void initgroups2(const char *user
 	if (maxgrps < 0)
 		maxgrps = 64;
 	groups = malloc(maxgrps * sizeof(gid_t));
-	if (groups != NULL)
+	if (groups == NULL)
 		return;
 	ngrps = maxgrps;
 	if (getgrouplist(user, real_user->pw_gid, groups, &ngrps) < 0)
