2007-05-21 Ross Burton <ross@openedhand.com>
* backends/file/e-book-backend-file.c:
Call set_errcall() earlier, so it can catch errors in env->open.
svn path=/trunk/; revision=7769
2007-05-21 Ross Burton <ross@openedhand.com>
* backends/file/e-book-backend-file.c:
+ Call set_errcall() earlier, so it can catch errors in env->open.
+
+2007-05-21 Ross Burton <ross@openedhand.com>
+
+ * backends/file/e-book-backend-file.c:
Move a g_free to the correct place, to avoid calling g_free (NULL).
2007-05-20 Ross Burton <ross@openedhand.com>
return db_error_to_status (db_error);
}
+ env->set_errcall (env, file_errcall);
+
/* Set the allocation routines to the non-aborting GLib functions */
env->set_alloc (env, (void *(*)(size_t))g_try_malloc,
(void *(*)(void *, size_t))g_try_realloc,
return db_error_to_status (db_error);
}
- env->set_errcall (env, file_errcall);
-
global_env.env = env;
global_env.ref_count = 1;
}