]> git.puffer.fish Git - matthieu/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>
Tue, 6 Dec 2011 11:02:44 +0000 (15:02 +0400)
commitb24b19f719fdd9c3d61a0c93552cd64d832d964c
treef46e5b9f02f311c45f9c78e096ba4fa7102f0fc8
parent6a2e0f36b103386e57dbe3a6ee4716e809111198
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