SHA256
1
0
forked from pool/libproxy
libproxy/libproxy-pxgsettings-crash.patch

16 lines
494 B
Diff
Raw Normal View History

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);