Hello community,

here is the log from the commit of package libmirage for openSUSE:Factory 
checked in at 2014-10-05 20:31:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libmirage (Old)
 and      /work/SRC/openSUSE:Factory/.libmirage.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libmirage"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libmirage/libmirage.changes      2014-09-15 
18:24:45.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libmirage.new/libmirage.changes 2014-10-05 
20:31:52.000000000 +0200
@@ -1,0 +2,9 @@
+Thu Oct  2 13:29:26 UTC 2014 - [email protected]
+
+- Update to new upstream release 3.0.2
+* TOC writer: fixed object (session, track, fragment) leak.
+  Fixes problems with no data being written to files in cases when
+  a virtual image is written, its target files removed and then
+  burned again.
+
+-------------------------------------------------------------------

Old:
----
  libmirage-3.0.1.tar.bz2

New:
----
  libmirage-3.0.2.tar.bz2

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

Other differences:
------------------
++++++ libmirage.spec ++++++
--- /var/tmp/diff_new_pack.TME3W5/_old  2014-10-05 20:31:53.000000000 +0200
+++ /var/tmp/diff_new_pack.TME3W5/_new  2014-10-05 20:31:53.000000000 +0200
@@ -22,7 +22,7 @@
 Summary:        A CD-ROM image access library
 License:        GPL-2.0+
 Group:          Development/Libraries/C and C++
-Version:        3.0.1
+Version:        3.0.2
 Release:        0
 Url:            http://cdemu.sf.net/about/libmirage/
 

++++++ libmirage-3.0.1.tar.bz2 -> libmirage-3.0.2.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.0.1/CMakeLists.txt 
new/libmirage-3.0.2/CMakeLists.txt
--- old/libmirage-3.0.1/CMakeLists.txt  2014-07-25 22:15:44.000000000 +0200
+++ new/libmirage-3.0.2/CMakeLists.txt  2014-09-28 21:19:13.000000000 +0200
@@ -6,7 +6,7 @@
 # Release versioning:
 set (MIRAGE_VERSION_MAJOR 3)
 set (MIRAGE_VERSION_MINOR 0)
-set (MIRAGE_VERSION_MICRO 1)
+set (MIRAGE_VERSION_MICRO 2)
 set (MIRAGE_VERSION_LONG 
${MIRAGE_VERSION_MAJOR}.${MIRAGE_VERSION_MINOR}.${MIRAGE_VERSION_MICRO})
 set (MIRAGE_VERSION_SHORT ${MIRAGE_VERSION_MAJOR}.${MIRAGE_VERSION_MINOR})
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.0.1/README new/libmirage-3.0.2/README
--- old/libmirage-3.0.1/README  2014-07-25 22:15:44.000000000 +0200
+++ new/libmirage-3.0.2/README  2014-09-28 21:19:13.000000000 +0200
@@ -1,5 +1,5 @@
 libMirage
-3.0.1
+3.0.2
 ~~~~~
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.0.1/debian/changelog 
new/libmirage-3.0.2/debian/changelog
--- old/libmirage-3.0.1/debian/changelog        2014-07-25 22:15:44.000000000 
+0200
+++ new/libmirage-3.0.2/debian/changelog        2014-09-28 21:19:13.000000000 
+0200
@@ -1,3 +1,3 @@
-libmirage (3.0.0-1) debian; urgency=low
+libmirage (3.0.2-1) debian; urgency=low
   * Initial Release. Closes: #705409
  -- Henrik Stokseth <[email protected]>  Sat, 05 Apr 2014 12:00:00 +0100
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.0.1/images/image-toc/writer.c 
new/libmirage-3.0.2/images/image-toc/writer.c
--- old/libmirage-3.0.1/images/image-toc/writer.c       2014-07-25 
22:15:44.000000000 +0200
+++ new/libmirage-3.0.2/images/image-toc/writer.c       2014-09-28 
21:19:13.000000000 +0200
@@ -335,6 +335,7 @@
                     /* TOC does not list first track's pregap. Unless it
                        is greater than standard 150? But the first fragment
                        (j == 0) always model the standard pregap */
+                    g_object_unref(fragment);
                     continue;
                 }
 
@@ -354,6 +355,7 @@
                 /* First track is a special case, since TOC does not list
                    its standard 150-sector pregap */
                 if (track_start <= 150) {
+                    g_object_unref(track);
                     continue;
                 } else {
                     track_start -= 150;
@@ -399,21 +401,22 @@
 
         /* Open stream on TOC file */
         MirageStream *toc_stream = 
mirage_contextual_create_output_stream(MIRAGE_CONTEXTUAL(self), filename, NULL, 
error);
-        if (!toc_stream) {
-            succeeded = FALSE;
-            break;
-        }
-
-        /* Generate TOC file contents */
-        GString *toc_contents = mirage_writer_toc_create_toc_file(self, 
session);
+        if (toc_stream) {
+            /* Generate TOC file contents */
+            GString *toc_contents = mirage_writer_toc_create_toc_file(self, 
session);
+
+            /* Write */
+            if (mirage_stream_write(toc_stream, toc_contents->str, 
toc_contents->len, error) != (toc_contents->len)) {
+                succeeded = FALSE;
+            }
 
-        /* Write */
-        if (mirage_stream_write(toc_stream, toc_contents->str, 
toc_contents->len, error) != (toc_contents->len)) {
+            g_object_unref(toc_stream);
+            g_string_free(toc_contents, TRUE);
+        } else {
             succeeded = FALSE;
         }
 
-        g_object_unref(toc_stream);
-        g_string_free(toc_contents, TRUE);
+        g_object_unref(session);
 
         if (!succeeded) {
             break;

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to