Diff between ff78cb83a12dc6d4ca82b684403fa6b700adaa41 and 565210f510e4cb605ff2e66b91b26adca0a3a01e
Changed Files
| File | Additions | Deletions | Status |
| gobex/gobex.c | +3 | -0 | modified |
Full Patch
diff --git a/gobex/gobex.c b/gobex/gobex.c
index 1c1f413..43d67ec 100644
--- a/gobex/gobex.c
+++ b/gobex/gobex.c
@@ -416,6 +416,9 @@ static gboolean incoming_data(GIOChannel *io, GIOCondition cond,
g_obex_handle_packet(obex, err, pkt);
+ if (err != NULL)
+ g_error_free(err);
+
if (pkt != NULL)
g_obex_packet_free(pkt);