cheese r794 - in trunk: . src
- From: fargiolas svn gnome org
- To: svn-commits-list gnome org
- Subject: cheese r794 - in trunk: . src
- Date: Sat, 5 Jul 2008 09:43:24 +0000 (UTC)
Author: fargiolas
Date: Sat Jul 5 09:43:24 2008
New Revision: 794
URL: http://svn.gnome.org/viewvc/cheese?rev=794&view=rev
Log:
fixes cheese_print_handler, path string was being used after unreferencing its owner (fileutil)
Modified:
trunk/ChangeLog
trunk/src/cheese.c
Modified: trunk/src/cheese.c
==============================================================================
--- trunk/src/cheese.c (original)
+++ trunk/src/cheese.c Sat Jul 5 09:43:24 2008
@@ -50,7 +50,6 @@
if (fp == NULL)
{
path = cheese_fileutil_get_log_path (fileutil);
- g_object_unref (fileutil);
dir = g_dir_open (path, 0, NULL);
if (!dir) {
@@ -60,6 +59,7 @@
filename = g_build_filename (path, "log", NULL);
fp = fopen (filename, "w");
+ g_object_unref (fileutil);
g_free (filename);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]