[maemo-commits] [maemo-commits] r18184 - projects/haf/trunk/hildon-thumbnail/daemon

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Apr 28 11:20:58 EEST 2009
Author: pvanhoof
Date: 2009-04-28 11:20:56 +0300 (Tue, 28 Apr 2009)
New Revision: 18184

Modified:
   projects/haf/trunk/hildon-thumbnail/daemon/thumb-hal.c
Log:
Small fix

Modified: projects/haf/trunk/hildon-thumbnail/daemon/thumb-hal.c
===================================================================
--- projects/haf/trunk/hildon-thumbnail/daemon/thumb-hal.c	2009-04-28 08:15:20 UTC (rev 18183)
+++ projects/haf/trunk/hildon-thumbnail/daemon/thumb-hal.c	2009-04-28 08:20:56 UTC (rev 18184)
@@ -27,7 +27,8 @@
 		 * before we start for real. */
 
 		filep = fopen (CHECK_FILE, "w");
-		fclose (filep);
+		if (filep)
+			fclose (filep);
 
 		exit (0);
 	}


More information about the maemo-commits mailing list