Accepting request 477850 from home:Zaitor:branches:network
Add upstream patch OBS-URL: https://build.opensuse.org/request/show/477850 OBS-URL: https://build.opensuse.org/package/show/network/libmbim?expand=0&rev=21
This commit is contained in:
parent
445677c2a7
commit
1ce94fbd1e
22
libmbim-plug-mem-leak.patch
Normal file
22
libmbim-plug-mem-leak.patch
Normal file
@ -0,0 +1,22 @@
|
||||
From c68b1375f3729968a1d83feecc6df0f6cfd81746 Mon Sep 17 00:00:00 2001
|
||||
From: Aleksander Morgado <aleksander@aleksander.es>
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 1 17:53:28 UTC 2017 - zaitor@opensuse.org
|
||||
|
||||
- Add libmbim-plug-mem-leak.patch: libmbim-glib: device: Plug
|
||||
memory leak in open timeout, patch from upstream stable git.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 11 20:03:00 UTC 2016 - bruno@ioda-net.ch
|
||||
|
||||
|
@ -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 @@ License: GPL-2.0+ and LGPL-2.0+
|
||||
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 zaitor@opensuse.org -- 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 @@ This package contain de bash completion command for mbimcli tools.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
|
Loading…
Reference in New Issue
Block a user