Hello community,

here is the log from the commit of package telemetrics-client for 
openSUSE:Factory checked in at 2019-06-06 18:15:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/telemetrics-client (Old)
 and      /work/SRC/openSUSE:Factory/.telemetrics-client.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "telemetrics-client"

Thu Jun  6 18:15:24 2019 rev:2 rq:705964 version:2.1.1+git20190322.4a2cfd9

Changes:
--------
--- /work/SRC/openSUSE:Factory/telemetrics-client/telemetrics-client.changes    
2019-03-26 15:39:02.664333588 +0100
+++ 
/work/SRC/openSUSE:Factory/.telemetrics-client.new.4811/telemetrics-client.changes
  2019-06-06 18:15:25.600719335 +0200
@@ -1,0 +2,6 @@
+Thu Mar 28 12:16:57 UTC 2019 - [email protected]
+
+- Update to version 2.1.1+git20190322.4a2cfd9:
+  * spool.c: fix memory leak
+
+-------------------------------------------------------------------

Old:
----
  telemetrics-client-2.1.1+git20190225.46f2e0c.tar.xz

New:
----
  telemetrics-client-2.1.1+git20190322.4a2cfd9.tar.xz

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

Other differences:
------------------
++++++ telemetrics-client.spec ++++++
--- /var/tmp/diff_new_pack.8JMIxp/_old  2019-06-06 18:15:26.144719176 +0200
+++ /var/tmp/diff_new_pack.8JMIxp/_new  2019-06-06 18:15:26.148719174 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           telemetrics-client
-Version:        2.1.1+git20190225.46f2e0c
+Version:        2.1.1+git20190322.4a2cfd9
 Release:        0
 Summary:        Telemetrics solution
 License:        LGPL-2.1-or-later
@@ -30,13 +30,13 @@
 Patch2:         install-paths.diff
 BuildRequires:  autoconf
 BuildRequires:  automake
+BuildRequires:  libtool
 BuildRequires:  pkgconfig(check)
 BuildRequires:  pkgconfig(libcurl)
 BuildRequires:  pkgconfig(libdw)
 BuildRequires:  pkgconfig(libelf)
-BuildRequires:  libtool
-BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(libsystemd)
+BuildRequires:  pkgconfig(systemd)
 
 %description
 This package provides the front end component of a complete telemetrics
@@ -48,8 +48,8 @@
 
 %package devel
 Summary:        Include files for Telemetrics
-Requires:       %name = %version
 Group:          Development/Libraries/C and C++
+Requires:       %name = %version
 
 %description devel
 This package contains the include files and libraries of the 
telemetrics-client for development.

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.8JMIxp/_old  2019-06-06 18:15:26.184719164 +0200
+++ /var/tmp/diff_new_pack.8JMIxp/_new  2019-06-06 18:15:26.188719162 +0200
@@ -1,6 +1,6 @@
 <servicedata>
   <service name="tar_scm">
     <param 
name="url">git://github.com/clearlinux/telemetrics-client.git</param>
-    <param 
name="changesrevision">46f2e0c8cb6371060332596dfcc2eb3eb94bee77</param>
+    <param 
name="changesrevision">4a2cfd99adaf922b974974ad33b14428ba12ae49</param>
  </service>
 </servicedata>
\ No newline at end of file

++++++ telemetrics-client-2.1.1+git20190225.46f2e0c.tar.xz -> 
telemetrics-client-2.1.1+git20190322.4a2cfd9.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/telemetrics-client-2.1.1+git20190225.46f2e0c/src/spool.c 
new/telemetrics-client-2.1.1+git20190322.4a2cfd9/src/spool.c
--- old/telemetrics-client-2.1.1+git20190225.46f2e0c/src/spool.c        
2019-02-25 22:14:14.000000000 +0100
+++ new/telemetrics-client-2.1.1+git20190322.4a2cfd9/src/spool.c        
2019-03-22 22:37:33.000000000 +0100
@@ -216,8 +216,7 @@
                 const char *header_name = get_header_name(i);
                 if (!fgets(line, LINE_MAX, fp)) {
                         telem_log(LOG_ERR, "Error while parsing record 
file\n");
-                        fclose(fp);
-                        return;
+                        goto read_error;
                 }
                 //Get rid of trailing newline
                 strtok(line, "\n");
@@ -242,8 +241,7 @@
 
         if (!payload) {
                 telem_log(LOG_ERR, "Could not allocate memory for payload\n");
-                fclose(fp);
-                return;
+                goto read_error;
         }
         memset(payload, 0, (size_t)size);
 


Reply via email to