commit | c17fbd6b1eb38e71aba65c593fa41f2e54f0b896 | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <shemminger@vyatta.com> | Tue Dec 06 14:09:18 2011 +0400 |
committer | Denis Ovsienko <infrastation@yandex.ru> | Mon Jan 02 17:14:33 2012 +0400 |
tree | f7c7a582f1e7cc2c6e6afb0ed77936867d59001c | |
parent | ed269db39a167251f9b7e8e261c7f53902c094f9 [diff] |
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.