memoryleak: ipconfig was not unreferenced properly
authorJukka Rissanen <jukka.rissanen@nokia.com>
Wed, 5 Jan 2011 13:14:12 +0000 (15:14 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 6 Jan 2011 02:51:30 +0000 (18:51 -0800)
commit69c8823882a5c2eb6e76628e1695f54e81383ace
tree25c24c9148de8c5089115e16ba27c8bb69348b1c
parent0131fc0fb3928c2c50973d94768ff8bd0a70ac8b
memoryleak: ipconfig was not unreferenced properly

The service creates ipconfig and then enables it which means that
ref count goes to 2. At some point it then disables ipconfig but
does not do unref which means there is a memory leak as ref count
never goes to 0.
src/service.c