-
For source code file xzgv-0.8/src/main.c
function read_xvpic
I notice the following poorly formatted code
count=fread(bmap,1,w*h,in);
if(count!=w*h)
return(0);
fclose(in);
return(1);
so if the first return is taken, then local variable "in" is a resource leak.
Suggest new code
count = fread( bmap, 1, w * h, in);
fclose( in);
if (count != w * h)
2009-10-23 09:26:34 UTC by nobody
-
In response to https://sourceforge.net/tracker/?func=detail&aid=1817977&group_id=203093&atid=984206
and hhttp://bugs.archlinux.org/task/15199.
Patch fixes program crash when creating thumbnails.
In main.c in xvpic2pixmap, gdk_draw_image was causing an error because the image and the pixmap did not have the same depth. The patch makes the pixmap have the same depth as the image(24 on my...
2009-08-01 20:03:34 UTC by m_wu
-
i had the same error message with xvgz-0.9. but after i manually compiled xvgz-0.9.1 in latest archlinux 2.6.29-ARCH,gtk2 2.16.2-1 it went away.
2009-06-20 19:22:56 UTC by nobody
-
rrt added the xzgv-0.9.1.tar.gz file.
2009-04-30 22:11:44 UTC by rrt
-
rrt created the 0.9.1 file release.
2009-04-30 22:10:10 UTC by rrt
-
rrt changed the public information on the xzgv image viewer project.
2009-04-30 22:09:37 UTC by rrt
-
rrt changed the public information on the xzgv image viewer project.
2009-04-30 22:09:28 UTC by rrt
-
rrt changed the public information on the xzgv image viewer project.
2009-04-30 22:09:21 UTC by rrt
-
rrt committed revision 48 to the xzgv image viewer SVN repository, changing 1 files.
2009-04-30 22:08:55 UTC by rrt
-
rrt committed revision 47 to the xzgv image viewer SVN repository, changing 1 files.
2009-04-30 21:58:55 UTC by rrt