Colin Walters
4e068f3924
tree-wide: Fix the build with old glib (Ubuntu Trusty etc.)
...
This regressed with <https://github.com/ostreedev/ostree/pull/1040 >
but currently the Travis builds aren't gating.
Closes : #1051
Approved by: jlebon
2017-08-03 16:23:41 +00:00
Colin Walters
40b41d2cc9
tree-wide: Use GLib autocleanups for libarchive
...
Define typedefs for read/write archives, and use the GLib
autocleanups for them. Prep for updating libglnx to drop its
custom autocleanup macros.
Closes : #1042
Approved by: jlebon
2017-08-02 16:55:38 +00:00
Krisztian Litkey
b13ead1c5b
libostree: added empty ot_cleanup_{read,write}_archive macros.
...
Added empty macros for ot_cleanup_{read,write}_archive to fix
errors when compiling without libarchive.
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Closes : #677
Approved by: cgwalters
2017-02-10 14:06:37 +00:00
Colin Walters
7bb0ff46a4
Define and use cleanup helpers for libarchive
...
This should fix some of the ASAN leaks around libarchive usage,
and is generally better.
Closes : #609
Approved by: jlebon
2016-12-05 15:20:56 +00:00