Hello community, here is the log from the commit of package libmbim for openSUSE:Factory checked in at 2017-03-10 21:10:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libmbim (Old) and /work/SRC/openSUSE:Factory/.libmbim.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libmbim" Fri Mar 10 21:10:44 2017 rev:11 rq:477899 version:1.14.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libmbim/libmbim.changes 2016-09-07 11:42:38.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libmbim.new/libmbim.changes 2017-03-10 21:10:45.412691939 +0100 @@ -1,0 +2,6 @@ +Wed Mar 1 17:53:28 UTC 2017 - [email protected] + +- Add libmbim-plug-mem-leak.patch: libmbim-glib: device: Plug + memory leak in open timeout, patch from upstream stable git. + +------------------------------------------------------------------- New: ---- libmbim-plug-mem-leak.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libmbim.spec ++++++ --- /var/tmp/diff_new_pack.345K3t/_old 2017-03-10 21:10:46.036603531 +0100 +++ /var/tmp/diff_new_pack.345K3t/_new 2017-03-10 21:10:46.040602965 +0100 @@ -1,7 +1,7 @@ # # spec file for package libmbim # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2013 Dominique Leuenberger, Amsterdam, The Netherlands # # All modifications and additions to the file contributed by third parties @@ -25,6 +25,8 @@ Group: Productivity/Networking/System Url: http://www.freedesktop.org/wiki/Software/libmbim/ Source: http://www.freedesktop.org/software/libmbim/%{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM libmbim-plug-mem-leak.patch [email protected] -- Plug memory leak in open timeout +Patch0: libmbim-plug-mem-leak.patch BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(glib-2.0) >= 2.32 BuildRequires: pkgconfig(gobject-2.0) @@ -67,6 +69,7 @@ %prep %setup -q +%patch0 -p1 %build %configure \ ++++++ libmbim-plug-mem-leak.patch ++++++ >From c68b1375f3729968a1d83feecc6df0f6cfd81746 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado <[email protected]> Date: Wed, 1 Feb 2017 23:05:40 +0100 Subject: libmbim-glib,device: plug memleak in open timeout (cherry picked from commit f6249fee1710484a749a5b919ca130d36d64eb2d) diff --git a/src/libmbim-glib/mbim-device.c b/src/libmbim-glib/mbim-device.c index a001940..c869ad7 100644 --- a/src/libmbim-glib/mbim-device.c +++ b/src/libmbim-glib/mbim-device.c @@ -1281,6 +1281,7 @@ open_message_ready (MbimDevice *self, /* No more seconds left in the timeout... return error */ } + g_error_free (error); g_debug ("open operation timed out: closed"); self->priv->open_status = OPEN_STATUS_CLOSED; -- cgit v0.10.2
