[maemo-commits] [maemo-commits] r16245 - projects/haf/branches/hildon-thumbnail/daemonize/daemon
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Fri Sep 26 16:04:38 EEST 2008
- Previous message: [maemo-commits] r16244 - projects/haf/branches/hildon-thumbnail/daemonize/daemon
- Next message: [maemo-commits] r16246 - projects/haf/branches/hildon-thumbnail/daemonize/daemon
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: pvanhoof Date: 2008-09-26 16:04:37 +0300 (Fri, 26 Sep 2008) New Revision: 16245 Modified: projects/haf/branches/hildon-thumbnail/daemonize/daemon/utils.c Log: Bugfix Modified: projects/haf/branches/hildon-thumbnail/daemonize/daemon/utils.c =================================================================== --- projects/haf/branches/hildon-thumbnail/daemonize/daemon/utils.c 2008-09-26 12:58:11 UTC (rev 16244) +++ projects/haf/branches/hildon-thumbnail/daemonize/daemon/utils.c 2008-09-26 13:04:37 UTC (rev 16245) @@ -105,8 +105,12 @@ if (albumartist) down = g_utf8_strdown (albumartist, -1); - else + else if (uri) down = g_strdup (uri); + else { + *path = NULL; + return; + } /* I know we leak, but it's better than doing memory fragementation on * these strings ... */
- Previous message: [maemo-commits] r16244 - projects/haf/branches/hildon-thumbnail/daemonize/daemon
- Next message: [maemo-commits] r16246 - projects/haf/branches/hildon-thumbnail/daemonize/daemon
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]