summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-09-18 18:55:59 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-09-18 18:55:59 +0200
commitc0bdb9df565749d795cc831ae748ea21575ca61b (patch)
tree89df95396bfbfb7c20265c5963623d90ef67dc34
parent8a90c928a7d92355e6a738cb2844ce37253afc9a (diff)
qmi-device: plug memleak, always need to free input containers
-rw-r--r--libqmi-glib/qmi-device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libqmi-glib/qmi-device.c b/libqmi-glib/qmi-device.c
index 89aaafb..04b963d 100644
--- a/libqmi-glib/qmi-device.c
+++ b/libqmi-glib/qmi-device.c
@@ -1537,6 +1537,7 @@ process_open_flags (DeviceOpenContext *ctx)
NULL,
(GAsyncReadyCallback)ctl_set_data_format_ready,
ctx);
+ qmi_message_ctl_set_data_format_input_unref (input);
return;
}