Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cinnamon-control-center for 
openSUSE:Factory checked in at 2023-06-04 00:12:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cinnamon-control-center (Old)
 and      /work/SRC/openSUSE:Factory/.cinnamon-control-center.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cinnamon-control-center"

Sun Jun  4 00:12:45 2023 rev:28 rq:1090573 version:5.8.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/cinnamon-control-center/cinnamon-control-center.changes
  2023-01-29 14:26:54.764275683 +0100
+++ 
/work/SRC/openSUSE:Factory/.cinnamon-control-center.new.15902/cinnamon-control-center.changes
       2023-06-04 00:12:57.269660254 +0200
@@ -1,0 +2,8 @@
+Fri Jun  2 21:05:08 UTC 2023 - Dirk Müller <dmuel...@suse.com>
+
+- update to 5.8.0:
+  * Fix memleaks
+  * network/net-device.c: net_device_get_valid_connections -
+    don't return early if there's no active connection.
+
+-------------------------------------------------------------------

Old:
----
  cinnamon-control-center-5.6.1.tar.gz

New:
----
  cinnamon-control-center-5.8.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cinnamon-control-center.spec ++++++
--- /var/tmp/diff_new_pack.209YqQ/_old  2023-06-04 00:12:57.933664224 +0200
+++ /var/tmp/diff_new_pack.209YqQ/_new  2023-06-04 00:12:57.941664271 +0200
@@ -19,7 +19,7 @@
 %define soname  libcinnamon-control-center
 %define sover   1
 Name:           cinnamon-control-center
-Version:        5.6.1
+Version:        5.8.0
 Release:        0
 Summary:        Utilities to configure the Cinnamon desktop
 License:        GPL-2.0-only AND GPL-3.0-or-later AND MIT

++++++ cinnamon-control-center-5.6.1.tar.gz -> 
cinnamon-control-center-5.8.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cinnamon-control-center-5.6.1/.github/workflows/build.yml 
new/cinnamon-control-center-5.8.0/.github/workflows/build.yml
--- old/cinnamon-control-center-5.6.1/.github/workflows/build.yml       
2023-01-07 16:55:44.000000000 +0100
+++ new/cinnamon-control-center-5.8.0/.github/workflows/build.yml       
2023-06-01 14:57:58.000000000 +0200
@@ -8,6 +8,12 @@
     branches:
       - master
   workflow_dispatch:
+    inputs:
+      debug_enabled:
+        type: boolean
+        description: 'Start an SSH server on failure.'
+        required: false
+        default: false
 
 jobs:
   build:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cinnamon-control-center-5.6.1/debian/changelog 
new/cinnamon-control-center-5.8.0/debian/changelog
--- old/cinnamon-control-center-5.6.1/debian/changelog  2023-01-07 
16:55:44.000000000 +0100
+++ new/cinnamon-control-center-5.8.0/debian/changelog  2023-06-01 
14:57:58.000000000 +0200
@@ -1,3 +1,14 @@
+cinnamon-control-center (5.8.0) victoria; urgency=medium
+
+  [ Oliver Kästner ]
+  * Fix memleaks (#306)
+
+  [ Michael Webster ]
+  * network/net-device.c: net_device_get_valid_connections - don't return 
early if there's no active connection.
+  * github workflow: Add optional ssh session.
+
+ -- Clement Lefebvre <r...@linuxmint.com>  Thu, 01 Jun 2023 13:57:38 +0100
+
 cinnamon-control-center (5.6.1) vera; urgency=medium
 
   [ Clement Lefebvre ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cinnamon-control-center-5.6.1/meson.build 
new/cinnamon-control-center-5.8.0/meson.build
--- old/cinnamon-control-center-5.6.1/meson.build       2023-01-07 
16:55:44.000000000 +0100
+++ new/cinnamon-control-center-5.8.0/meson.build       2023-06-01 
14:57:58.000000000 +0200
@@ -1,5 +1,5 @@
 project('cinnamon-control-center', 'c',
-  version: '5.6.1',
+  version: '5.8.0',
   meson_version: '>=0.49.0',
 )
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cinnamon-control-center-5.6.1/panels/network/net-device-ethernet.c 
new/cinnamon-control-center-5.8.0/panels/network/net-device-ethernet.c
--- old/cinnamon-control-center-5.6.1/panels/network/net-device-ethernet.c      
2023-01-07 16:55:44.000000000 +0100
+++ new/cinnamon-control-center-5.8.0/panels/network/net-device-ethernet.c      
2023-06-01 14:57:58.000000000 +0200
@@ -133,12 +133,12 @@
 {
         NMIPConfig *ip4_config = NULL;
         NMIPConfig *ip6_config = NULL;
-        gchar *ip4_address = NULL;
-        gchar *ip4_route = NULL;
-        gchar *ip4_dns = NULL;
-        gchar *ip6_address = NULL;
-        gchar *ip6_route = NULL;
-        gchar *ip6_dns = NULL;
+        g_autofree gchar *ip4_address = NULL;
+        g_autofree gchar *ip4_route = NULL;
+        g_autofree gchar *ip4_dns = NULL;
+        g_autofree gchar *ip6_address = NULL;
+        g_autofree gchar *ip6_route = NULL;
+        g_autofree gchar *ip6_dns = NULL;
         gint i = 0;
 
         ip4_config = nm_device_get_ip4_config (device);
@@ -185,17 +185,10 @@
         }
 
         if (nm_device_get_state (device) != NM_DEVICE_STATE_ACTIVATED) {
-                gchar *last_used;
+                g_autofree gchar *last_used = NULL;
                 last_used = get_last_used_string (connection);
                 add_details_row (details, i++, _("Last used"), last_used);
-                g_free (last_used);
         }
-
-        g_free (ip4_address);
-        g_free (ip4_route);
-        g_free (ip4_dns);
-        g_free (ip6_address);
-        g_free (ip6_dns);
 }
 
 static void populate_ui (NetDeviceEthernet *device);
@@ -221,7 +214,7 @@
         NMDevice *nm_device;
         NMDeviceState state;
         GtkWidget *widget;
-        gchar *speed = NULL;
+        g_autofree gchar *speed = NULL;
 
         nm_device = net_device_get_nm_device (NET_DEVICE (device));
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cinnamon-control-center-5.6.1/panels/network/net-device.c 
new/cinnamon-control-center-5.8.0/panels/network/net-device.c
--- old/cinnamon-control-center-5.6.1/panels/network/net-device.c       
2023-01-07 16:55:44.000000000 +0100
+++ new/cinnamon-control-center-5.8.0/panels/network/net-device.c       
2023-06-01 14:57:58.000000000 +0200
@@ -328,10 +328,6 @@
 
         active_connection = nm_device_get_active_connection 
(net_device_get_nm_device (device));
 
-        if (!NM_IS_ACTIVE_CONNECTION (active_connection)) {
-            return NULL;
-        }
-
         active_uuid = active_connection ? nm_active_connection_get_uuid 
(active_connection) : NULL;
 
         valid = NULL;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cinnamon-control-center-5.6.1/shell/cc-shell-item-view.c 
new/cinnamon-control-center-5.8.0/shell/cc-shell-item-view.c
--- old/cinnamon-control-center-5.6.1/shell/cc-shell-item-view.c        
2023-01-07 16:55:44.000000000 +0100
+++ new/cinnamon-control-center-5.8.0/shell/cc-shell-item-view.c        
2023-06-01 14:57:58.000000000 +0200
@@ -111,7 +111,7 @@
       gtk_icon_view_item_activated (GTK_ICON_VIEW (cc_view),
                                     (GtkTreePath*) selection->data);
 
-      g_list_free (selection);
+      g_list_free_full (selection, (GDestroyNotify) gtk_tree_path_free);
     }
 
   return TRUE;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cinnamon-control-center-5.6.1/shell/cc-shell-model.c 
new/cinnamon-control-center-5.8.0/shell/cc-shell-model.c
--- old/cinnamon-control-center-5.6.1/shell/cc-shell-model.c    2023-01-07 
16:55:44.000000000 +0100
+++ new/cinnamon-control-center-5.8.0/shell/cc-shell-model.c    2023-06-01 
14:57:58.000000000 +0200
@@ -124,13 +124,13 @@
                          const gchar    *path)
 {
 
-  GAppInfo    *appinfo = G_APP_INFO (g_desktop_app_info_new_from_filename 
(path));
+  g_autoptr(GAppInfo) appinfo = G_APP_INFO 
(g_desktop_app_info_new_from_filename (path));
   GIcon       *icon = g_app_info_get_icon (appinfo);
   const gchar *name = g_app_info_get_name (appinfo);
   const gchar *comment = g_app_info_get_description (appinfo);
-  gchar *id;
-  gchar *basename;
-  GdkPixbuf *pixbuf = NULL;
+  g_autofree gchar *id;
+  g_autofree gchar *basename;
+  g_autoptr(GdkPixbuf) pixbuf = NULL;
   GKeyFile *key_file;
   gchar **keywords;
 
@@ -164,6 +164,5 @@
                                      COL_KEYWORDS, keywords,
                                      -1);
 
-  g_free (id);
   g_strfreev (keywords);
 }

Reply via email to