git: libdmsg - Fix memory leak
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Feb 28 10:06:43 PST 2015
commit e96cef493b34f54527343e792a7f6ff18b30b2e1
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Sat Feb 28 10:04:54 2015 -0800
libdmsg - Fix memory leak
* Fix a memory leak in the message relay code. When relaying a message
we just transfer the aux_data pointer to the relay message. The
allocation of the relay message was also allocate aux_data space which
was getting thrown away and not freed.
Summary of changes:
lib/libdmsg/msg.c | 28 ++++++++++++++++++++++------
1 file changed, 22 insertions(+), 6 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e96cef493b34f54527343e792a7f6ff18b30b2e1
--
DragonFly BSD source repository
More information about the Commits
mailing list