diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/parse.c | 6 |
2 files changed, 9 insertions, 3 deletions
@@ -1,3 +1,9 @@ +2006-06-02 Alan Coopersmith <alan.coopersmith@sun.com> + + * src/parse.c (xpmParseData): + Coverity #1415: Returned without freeing storage "hints_cmt" + (in error case when xpmHashTableInit failed) + 2006-04-26 Adam Jackson <ajax@freedesktop.org> * configure.ac: diff --git a/src/parse.c b/src/parse.c index 9644181..c5ec1a1 100644 --- a/src/parse.c +++ b/src/parse.c @@ -1,4 +1,4 @@ -/* $XdotOrg: xc/extras/Xpm/lib/parse.c,v 1.2.4.1 2004/09/15 15:47:39 daniel Exp $ */ +/* $XdotOrg: lib/Xpm/src/parse.c,v 1.6 2005/07/16 21:11:25 alanc Exp $ */ /* * Copyright (C) 1989-95 GROUPE BULL * @@ -702,12 +702,12 @@ xpmParseData(data, image, info) xpmGetCmt(data, &hints_cmt); /* - * init the hastable + * init the hashtable */ if (USE_HASHTABLE) { ErrorStatus = xpmHashTableInit(&hashtable); if (ErrorStatus != XpmSuccess) - return (ErrorStatus); + RETURN(ErrorStatus); } /* |