In 0.83git now. Fix minor leaks in libcdio 0.82 detected by cppcheck
via Eric Sesterhenn.
This commit is contained in:
@@ -16,8 +16,8 @@ dnl along with this program; if not, write to the Free Software
|
|||||||
dnl Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
dnl Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||||
dnl 02110-1301 USA.
|
dnl 02110-1301 USA.
|
||||||
|
|
||||||
define(RELEASE_NUM, 82)
|
define(RELEASE_NUM, 83)
|
||||||
define(CDIO_VERSION_STR, 0.$1)
|
define(CDIO_VERSION_STR, 0.$1git)
|
||||||
|
|
||||||
AC_PREREQ(2.52)
|
AC_PREREQ(2.52)
|
||||||
AC_REVISION([$Id: configure.ac,v 1.238 2008/11/27 21:09:51 rocky Exp $])dnl
|
AC_REVISION([$Id: configure.ac,v 1.238 2008/11/27 21:09:51 rocky Exp $])dnl
|
||||||
|
|||||||
3
doc/doxygen/.gitignore
vendored
3
doc/doxygen/.gitignore
vendored
@@ -1 +1,4 @@
|
|||||||
|
/html
|
||||||
|
/latex
|
||||||
/Doxyfile
|
/Doxyfile
|
||||||
|
/Doxyfile.bak
|
||||||
|
|||||||
@@ -33,6 +33,7 @@
|
|||||||
gnu-ftp-upload libcdio 0.*80*
|
gnu-ftp-upload libcdio 0.*80*
|
||||||
|
|
||||||
Also gnupload from the automake distribution.
|
Also gnupload from the automake distribution.
|
||||||
|
/src/build/automake-1.10/lib/gnupload --to ftp.gnu.org:libcdio libcdio-0.82.tar.gz (Use "is" password)
|
||||||
|
|
||||||
- Update/Announce on Freshmeat:
|
- Update/Announce on Freshmeat:
|
||||||
http://freshmeat.net/add-release/36670/
|
http://freshmeat.net/add-release/36670/
|
||||||
@@ -45,7 +46,7 @@
|
|||||||
rm *.html
|
rm *.html
|
||||||
cp ../../libcdio/doc/doxygen/html/*.html .
|
cp ../../libcdio/doc/doxygen/html/*.html .
|
||||||
cvs update .
|
cvs update .
|
||||||
for each "U" html *except libcdio.hmtl* put back remove it
|
for each "U" html *except libcdio.html* put back remove it
|
||||||
with "rm" and "cvs remove"
|
with "rm" and "cvs remove"
|
||||||
for each new "?" html add it
|
for each new "?" html add it
|
||||||
cvs commit .
|
cvs commit .
|
||||||
@@ -56,9 +57,7 @@
|
|||||||
cp ../libcdio/doc/libcdio.html .
|
cp ../libcdio/doc/libcdio.html .
|
||||||
cvs commit libcdio.html
|
cvs commit libcdio.html
|
||||||
|
|
||||||
- Remove old cvs versions
|
- Bump version in configure.ac and add "git". See place above in
|
||||||
|
|
||||||
- Bump version in configure.ac and add "cvs". See place above in
|
|
||||||
removal.
|
removal.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -92,6 +92,7 @@ main(int argc, const char *argv[])
|
|||||||
|
|
||||||
if (!device->open(psz_drive, DRIVER_DEVICE)) {
|
if (!device->open(psz_drive, DRIVER_DEVICE)) {
|
||||||
printf("Couldn't find CD\n");
|
printf("Couldn't find CD\n");
|
||||||
|
delete(device);
|
||||||
return 1;
|
return 1;
|
||||||
} else {
|
} else {
|
||||||
i_first_track = device->getFirstTrackNum();
|
i_first_track = device->getFirstTrackNum();
|
||||||
|
|||||||
@@ -737,6 +737,7 @@ close_tray_freebsd (const char *psz_device)
|
|||||||
|
|
||||||
if((i_rc = ioctl(fd, CDIOCCLOSE)) != 0) {
|
if((i_rc = ioctl(fd, CDIOCCLOSE)) != 0) {
|
||||||
cdio_warn ("ioctl CDIOCCLOSE failed: %s\n", strerror(errno));
|
cdio_warn ("ioctl CDIOCCLOSE failed: %s\n", strerror(errno));
|
||||||
|
close(fd);
|
||||||
return DRIVER_OP_ERROR;
|
return DRIVER_OP_ERROR;
|
||||||
}
|
}
|
||||||
close(fd);
|
close(fd);
|
||||||
|
|||||||
@@ -439,6 +439,8 @@ cdio_close_tray (const char *psz_orig_drive, /*in/out*/ driver_id_t
|
|||||||
free(psz_drive);
|
free(psz_drive);
|
||||||
return drc;
|
return drc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free(psz_drive);
|
||||||
return DRIVER_OP_UNSUPPORTED;
|
return DRIVER_OP_UNSUPPORTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -356,6 +356,7 @@ eject_media_netbsd(void *user_data) {
|
|||||||
ret = 1;
|
ret = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
close(fd);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -194,8 +194,10 @@ iso9660_open_ext_private (const char *psz_path,
|
|||||||
error:
|
error:
|
||||||
if (p_iso && p_iso->stream) {
|
if (p_iso && p_iso->stream) {
|
||||||
cdio_stdio_destroy(p_iso->stream);
|
cdio_stdio_destroy(p_iso->stream);
|
||||||
free(p_iso);
|
|
||||||
|
if (p_iso) free(p_iso);
|
||||||
}
|
}
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -530,6 +530,7 @@ print_iso9660_recurse (CdIo_t *p_cdio, const char pathname[],
|
|||||||
|
|
||||||
if (NULL == p_entlist) {
|
if (NULL == p_entlist) {
|
||||||
report( stderr, "Error getting above directory information\n" );
|
report( stderr, "Error getting above directory information\n" );
|
||||||
|
free(translated_name);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -210,6 +210,7 @@ print_iso9660_recurse (iso9660_t *p_iso, const char psz_path[])
|
|||||||
|
|
||||||
if (NULL == entlist) {
|
if (NULL == entlist) {
|
||||||
report( stderr, "Error getting above directory information\n" );
|
report( stderr, "Error getting above directory information\n" );
|
||||||
|
free(translated_name);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
1
test/.gitignore
vendored
1
test/.gitignore
vendored
@@ -22,6 +22,7 @@
|
|||||||
/testbincue.c
|
/testbincue.c
|
||||||
/testdefault
|
/testdefault
|
||||||
/testgetdevices
|
/testgetdevices
|
||||||
|
/testgetdevices.c
|
||||||
/testischar
|
/testischar
|
||||||
/testiso9660
|
/testiso9660
|
||||||
/testisocd
|
/testisocd
|
||||||
|
|||||||
Reference in New Issue
Block a user