On Sat, Jul 26, 2008 at 04:06:53PM +0000, Jan Patera wrote:
> Update of /cvsroot/libexif/libexif/libexif
> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11556
>
> Modified Files:
> exif-content.c
> Log Message:
> Hopefully finally correct ;-)
Looks good now, eog nor gimp dont crash.
Ciao, Marcus
>
> Index: exif-content.c
> ===================================================================
> RCS file: /cvsroot/libexif/libexif/libexif/exif-content.c,v
> retrieving revision 1.28
> retrieving revision 1.29
> diff -u -p -d -r1.28 -r1.29
> --- exif-content.c 26 Jul 2008 14:26:43 -0000 1.28
> +++ exif-content.c 26 Jul 2008 16:06:49 -0000 1.29
> @@ -175,9 +175,10 @@ exif_content_remove_entry (ExifContent *
> }
> c->entries = t;
> c->count--;
> - if (i!=c->count) /* we deallocated the last slot already */
> + if (i != c->count) { /* we deallocated the last slot already */
> memmove (&t[i], &t[i + 1], sizeof (ExifEntry*) * (c->count - i - 1));
> - t[c->count-1] = temp;
> + t[c->count-1] = temp;
> + }
> } else {
> exif_mem_free (c->priv->mem, c->entries);
> c->entries = NULL;
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> libexif-cvs mailing list
> lib...@li...
> https://lists.sourceforge.net/lists/listinfo/libexif-cvs
>
|