r19703: Don't free a string if you want to return it!
authorSimo Sorce <idra@samba.org>
Tue, 14 Nov 2006 16:50:29 +0000 (16:50 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:15:48 +0000 (12:15 -0500)
(This used to be commit 3fed72ac3efd1fa7df8fb7d1e2cb9772d66bb4bd)

source3/nsswitch/pam_winbind.c

index 0729fda62b9d118f9aed3bb93d98c1fe4b058a5c..1d9053ff3ec28d13879175791deb02af9fd45bf7 100644 (file)
@@ -932,7 +932,6 @@ const char *get_conf_item_string(const pam_handle_t *pamh,
                                _pam_log(pamh, ctrl, LOG_INFO, "no \"=\" delimiter for \"%s\" found\n", item);
                                goto out;
                        }
-                       SAFE_FREE(parm);
                        _pam_log_debug(pamh, ctrl, LOG_INFO, "PAM config: %s '%s'\n", item, p+1);
                        return p + 1;
                }