diff src/exif.c @ 414:49c1cbe058ae

partially fixed reading embedded color profiles with exiv2
author nadvornik
date Fri, 18 Apr 2008 22:31:58 +0000
parents faeda3c7c8f8
children 4b2d7f9af171
line wrap: on
line diff
--- a/src/exif.c	Fri Apr 18 22:15:01 2008 +0000
+++ b/src/exif.c	Fri Apr 18 22:31:58 2008 +0000
@@ -552,7 +552,7 @@
 {
 	if (data_len)
 		*data_len = item->data_len;
-	return item->data;
+	return g_memdup(item->data, item->data_len);
 }
 
 guint exif_item_get_format_id(ExifItem *item)