public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE3 - dlm_controld: add comments: mark memory problems
@ 2009-06-26  8:51 Jim Meyering
  0 siblings, 0 replies; only message in thread
From: Jim Meyering @ 2009-06-26  8:51 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=3ae8e17cfe19505bd77eab12375d7dbe213928c9
Commit:        3ae8e17cfe19505bd77eab12375d7dbe213928c9
Parent:        a5adf14a27e9cadc0b355af01fc416528a942372
Author:        Jim Meyering <meyering@redhat.com>
AuthorDate:    Tue Jun 23 11:57:13 2009 +0200
Committer:     Jim Meyering <meyering@redhat.com>
CommitterDate: Fri Jun 26 10:49:47 2009 +0200

dlm_controld: add comments: mark memory problems

* group/dlm_controld/pacemaker.c (process_cluster): Mark additional
memory problems.
---
 group/dlm_controld/pacemaker.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/group/dlm_controld/pacemaker.c b/group/dlm_controld/pacemaker.c
index 5825adc..6365123 100644
--- a/group/dlm_controld/pacemaker.c
+++ b/group/dlm_controld/pacemaker.c
@@ -191,6 +191,7 @@ void process_cluster(int ci)
 
 	log_debug("Decompressing message data");
 	uncompressed = malloc(new_size);
+	// FIXME: handle malloc failure
 	memset(uncompressed, 0, new_size);
 	
 	rc = BZ2_bzBuffToBuffDecompress(


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-26  8:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-26  8:51 cluster: STABLE3 - dlm_controld: add comments: mark memory problems Jim Meyering

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).