tracker r2459 - in trunk: . src/tracker-extract
- From: pvanhoof svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r2459 - in trunk: . src/tracker-extract
- Date: Wed, 5 Nov 2008 17:49:32 +0000 (UTC)
Author: pvanhoof
Date: Wed Nov 5 17:49:32 2008
New Revision: 2459
URL: http://svn.gnome.org/viewvc/tracker?rev=2459&view=rev
Log:
2008-11-05 Philip Van Hoof <philip codeminded be>
* src/tracker-extract/tracker-albumart.c: Bugfix incase of the empty
string being stripped
Modified:
trunk/ChangeLog
trunk/src/tracker-extract/tracker-albumart.c
Modified: trunk/src/tracker-extract/tracker-albumart.c
==============================================================================
--- trunk/src/tracker-extract/tracker-albumart.c (original)
+++ trunk/src/tracker-extract/tracker-albumart.c Wed Nov 5 17:49:32 2008
@@ -90,7 +90,7 @@
{
const gchar *foo = "()[]<>{}_! #$^&*+=|\\/\"'?~";
guint osize = strlen (original);
- gchar *retval = (gchar *) g_malloc0 (sizeof (gchar *) * osize);
+ gchar *retval = (gchar *) g_malloc0 (sizeof (gchar *) * osize + 1);
guint i = 0, y = 0;
while (i < osize) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]