[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150720134340.6c7f8df7@urahara>
Date: Mon, 20 Jul 2015 13:43:40 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Vadim Kochan <vadim4j@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH iproute2] ss: Fix crash when dump stats from /proc with
'-p'
On Mon, 20 Jul 2015 22:46:23 +0300
Vadim Kochan <vadim4j@...il.com> wrote:
> + if (s->name)
> + free(s->name);
Please don't add unnecessary conditional.
free(NULL) is defined to do nothing.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists