libproxy/libproxy-pxgsettings-crash.patch
Dominique Leuenberger de81afcb7f Accepting request 196570 from home:dimstar:branches:GNOME:Factory
- Add libproxy-pxgsettings-crash.patch: fix crash in pxgsettings
               when it's closing down (bnc#836576).  Wait for libproxy and
               libproxy plugins to fully build before accepting into G:F.

OBS-URL: https://build.opensuse.org/request/show/196570
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=102
2013-08-27 18:17:10 +00:00

16 lines
494 B
Diff

Index: libproxy/modules/pxgsettings.cpp
===================================================================
--- libproxy/modules/pxgsettings.cpp.orig
+++ libproxy/modules/pxgsettings.cpp
@@ -157,9 +157,7 @@ int main(int argc, char **argv) {
g_main_loop_run(loop);
// Cleanup
- while (G_IS_OBJECT(client)) {
- g_object_unref(client);
- }
+ g_object_unref(client);
g_io_channel_shutdown(inchan, FALSE, NULL);
g_io_channel_shutdown(outchan, FALSE, NULL);
g_io_channel_unref(inchan);