From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Pokorný Date: Mon, 2 Apr 2012 17:46:23 +0200 Subject: [Cluster-devel] [PATCH 1b/2] resrules: fix free while passing the pointer to caller In-Reply-To: <20120402112952.GA21558@redhat.com> References: <20120402095934.GA18543@redhat.com> <20120402100618.GA19756@redhat.com> <20120402112952.GA21558@redhat.com> Message-ID: <20120402154623.GA27656@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On 02/04/12 13:29 +0200, Jan Pokorn? wrote: > What's worse, the caller could then access uninitialized memory > through this pointer (e.g., print_resource_rule). As Ryan noted, this is not true, as the pointer was always set to NULL. So the patch only eliminates hidden NOOP. -- Jan