rpms/libraw1394/devel libraw1394-juju-no-double-free-on-shutdown.patch, NONE, 1.1
Jarod Wilson (jwilson)
fedora-extras-commits at redhat.com
Sun Oct 21 19:24:54 UTC 2007
- Previous message (by thread): rpms/qt4-qsa/devel .cvsignore, 1.3, NONE Makefile, 1.1, NONE qsa-1.2.1-QT_INSTALL.patch, 1.1, NONE qt4-qsa-fhs.patch, 1.1, NONE qt4-qsa.spec, 1.15, NONE sources, 1.3, NONE
- Next message (by thread): rpms/anaconda/F-8 .cvsignore, 1.456, 1.457 anaconda.spec, 1.594, 1.595 sources, 1.585, 1.586
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jwilson
Update of /cvs/pkgs/rpms/libraw1394/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3561
Added Files:
libraw1394-juju-no-double-free-on-shutdown.patch
Log Message:
Add patch left out of last commit...
libraw1394-juju-no-double-free-on-shutdown.patch:
--- NEW FILE libraw1394-juju-no-double-free-on-shutdown.patch ---
diff -Naurp libraw1394-1.3.0/juju/raw1394-iso.c libraw1394-1.3.0.fix/juju/raw1394-iso.c
--- libraw1394-1.3.0/juju/raw1394-iso.c 2007-10-19 16:05:09.000000000 -0400
+++ libraw1394-1.3.0.fix/juju/raw1394-iso.c 2007-10-19 17:14:40.000000000 -0400
@@ -394,6 +394,7 @@ iso_init(raw1394handle_t handle, int typ
handle->iso.fd = open(handle->local_filename, O_RDWR);
if (handle->iso.fd < 0) {
free(handle->iso.packets);
+ handle->iso.packets = NULL;
return -1;
}
@@ -404,6 +405,7 @@ iso_init(raw1394handle_t handle, int typ
handle->iso.fd, &ep) < 0) {
close(handle->iso.fd);
free(handle->iso.packets);
+ handle->iso.packets = NULL;
return -1;
}
@@ -417,6 +419,8 @@ iso_init(raw1394handle_t handle, int typ
if (retval < 0) {
close(handle->iso.fd);
free(handle->iso.packets);
+ handle->iso.packets = NULL;
+ printf("ioctl call failed, retval = %d\n", retval);
return retval;
}
@@ -427,6 +431,7 @@ iso_init(raw1394handle_t handle, int typ
if (handle->iso.buffer == MAP_FAILED) {
close(handle->iso.fd);
free(handle->iso.packets);
+ handle->iso.packets = NULL;
return -1;
}
- Previous message (by thread): rpms/qt4-qsa/devel .cvsignore, 1.3, NONE Makefile, 1.1, NONE qsa-1.2.1-QT_INSTALL.patch, 1.1, NONE qt4-qsa-fhs.patch, 1.1, NONE qt4-qsa.spec, 1.15, NONE sources, 1.3, NONE
- Next message (by thread): rpms/anaconda/F-8 .cvsignore, 1.456, 1.457 anaconda.spec, 1.594, 1.595 sources, 1.585, 1.586
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list