Module Name: src Committed By: christos Date: Thu Nov 14 01:39:26 UTC 2013
Modified Files: src/external/ibm-public/postfix/dist/src/postconf: postconf_master.c Log Message: CID 1102804: Memory leak To generate a diff of this commit: cvs rdiff -u -r1.1.1.3 -r1.2 \ src/external/ibm-public/postfix/dist/src/postconf/postconf_master.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/ibm-public/postfix/dist/src/postconf/postconf_master.c diff -u src/external/ibm-public/postfix/dist/src/postconf/postconf_master.c:1.1.1.3 src/external/ibm-public/postfix/dist/src/postconf/postconf_master.c:1.2 --- src/external/ibm-public/postfix/dist/src/postconf/postconf_master.c:1.1.1.3 Wed Sep 25 15:06:33 2013 +++ src/external/ibm-public/postfix/dist/src/postconf/postconf_master.c Wed Nov 13 20:39:26 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: postconf_master.c,v 1.1.1.3 2013/09/25 19:06:33 tron Exp $ */ +/* $NetBSD: postconf_master.c,v 1.2 2013/11/14 01:39:26 christos Exp $ */ /*++ /* NAME @@ -140,8 +140,10 @@ static const char *parse_master_line(PC_ #define MASTER_BLANKS " \t\r\n" /* XXX */ argv = argv_split(buf, MASTER_BLANKS); - if (argv->argc < PC_MASTER_MIN_FIELDS) + if (argv->argc < PC_MASTER_MIN_FIELDS) { + argv_free(argv); return ("bad field count"); + } normalize_options(argv); masterp->name_space = concatenate(argv->argv[0], ".", argv->argv[1], (char *) 0);