summaryrefslogtreecommitdiff
path: root/server/dcc.cpp
diff options
context:
space:
mode:
authorFrediano Ziglio <freddy77@gmail.com>2020-06-05 14:03:35 +0100
committerFrediano Ziglio <freddy77@gmail.com>2020-07-13 19:47:45 +0100
commit45e964dc5a2e2f86437da0ef3d31ddb650109f40 (patch)
treef82ff2ea1e6eaf1f23a281d33ecb0c86b54e2fa6 /server/dcc.cpp
parent65d7d24f21f0f8c5c43c9bbdc359c5aed524c1af (diff)
red-pipe-item: Better encapsulate marshaller_unref_pipe_item
To avoid memory errors marshaller_unref_pipe_item should be matched with a previous call to red_pipe_item_ref. This is correctly done but to reduce the possibility of breaking this rule move both referencing and unreferencing into a new RedPipeItem::add_to_marshaller method. Signed-off-by: Frediano Ziglio <freddy77@gmail.com> Acked-by: Julien Ropé <jrope@gmail.com>
Diffstat (limited to 'server/dcc.cpp')
0 files changed, 0 insertions, 0 deletions