connection: add extra ref to reply while operating on it
authorDaniel Mack <daniel@zonque.org>
Thu, 8 Jan 2015 18:58:31 +0000 (19:58 +0100)
committerDaniel Mack <daniel@zonque.org>
Thu, 8 Jan 2015 18:58:31 +0000 (19:58 +0100)
commit6d1f724ca720ed22e338261714ee8188ecd17c70
tree4c8487ae7d50ac148cdebba718361c42a3af4637
parentfca1b60ce7cc199c8185301c97848b9bb06ed3b3
connection: add extra ref to reply while operating on it

kdbus_reply_unlink() potentially destroys the reply, so keep an
extra reference while working with it. Drop the reference after
we're done.

Signed-off-by: Daniel Mack <daniel@zonque.org>
connection.c