]> git.puffer.fish Git - mirror/frr.git/commit
lib: fix memory leak on connect() failure
authorStephen Hemminger <shemminger@vyatta.com>
Tue, 6 Dec 2011 10:09:18 +0000 (14:09 +0400)
committerDenis Ovsienko <infrastation@yandex.ru>
Mon, 2 Jan 2012 13:14:33 +0000 (17:14 +0400)
commitc17fbd6b1eb38e71aba65c593fa41f2e54f0b896
treef7c7a582f1e7cc2c6e6afb0ed77936867d59001c
parented269db39a167251f9b7e8e261c7f53902c094f9
lib: fix memory leak on connect() failure

Change sockunion_log() to not use strdup(). This fixes a small memory
leak that occurs on every failed connect(), and is simpler/cleaner.
lib/sockunion.c