Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15:Update
cdio-utils.30992
libcdio-0.94-leak-05.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libcdio-0.94-leak-05.patch of Package cdio-utils.30992
From 91d26669c1bcb3e6aede3bc4e31d0741bb3ef6ea Mon Sep 17 00:00:00 2001 From: "R. Bernstein" <rocky@gnu.org> Date: Mon, 20 Nov 2017 18:30:05 -0500 Subject: [PATCH 5/20] Another small memory leak plugged. --- include/cdio/ds.h | 4 +--- lib/iso9660/iso9660_fs.c | 3 ++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/include/cdio/ds.h b/include/cdio/ds.h index c56c33c7..523d6e7e 100644 --- a/include/cdio/ds.h +++ b/include/cdio/ds.h @@ -1,7 +1,5 @@ /* - $Id: ds.h,v 1.5 2008/03/25 15:59:09 karl Exp $ - - Copyright (C) 2005, 2008 Rocky Bernstein <rocky@gnu.org> + Copyright (C) 2005, 2008, 2017 Rocky Bernstein <rocky@gnu.org> Copyright (C) 2000, 2004 Herbert Valerio Riedel <hvr@gnu.org> This program is free software: you can redistribute it and/or modify diff --git a/lib/iso9660/iso9660_fs.c b/lib/iso9660/iso9660_fs.c index 6a781cd3..f70fd9bb 100644 --- a/lib/iso9660/iso9660_fs.c +++ b/lib/iso9660/iso9660_fs.c @@ -1682,7 +1682,8 @@ iso9660_have_rr(iso9660_t *p_iso, uint64_t u_file_limit) is_rr = iso_have_rr_traverse (p_iso, p_root, p_psz_splitpath, &u_file_limit); free(p_root); - // _cdio_strfreev (p_psz_splitpath); + free(p_psz_splitpath[0]); + free(p_psz_splitpath[1]); return is_rr; } -- 2.17.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor