Fix writer: leak of the event classes
authorJulien Desfossez <jdesfossez@efficios.com>
Fri, 20 Jan 2017 21:11:01 +0000 (16:11 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 28 May 2017 16:57:39 +0000 (12:57 -0400)
commit1e0002d7e920bb2073df222ed5470f83602b16cb
tree1426c034eb3f225e0f787dcb9dcae2dedea66c09
parentd00b90bff69bfea0b81e73c166f68ca9231636d4
Fix writer: leak of the event classes

We have to release the writer_event_class once it is added to the
writer_stream_class. This also highlighted a problem with the ownership
of the stream, stream_class and writer objects which is now fixed.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
plugins/writer/write.c
plugins/writer/writer.c
This page took 0.027891 seconds and 4 git commands to generate.