[ostree] log: Fix a crash
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] log: Fix a crash
- Date: Tue, 1 Nov 2011 16:25:09 +0000 (UTC)
commit 8f877c5b6575e6d7b51961d926e5782ae7a2c4f2
Author: Colin Walters <walters verbum org>
Date: Tue Nov 1 12:24:34 2011 -0400
log: Fix a crash
src/ot-builtin-log.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ot-builtin-log.c b/src/ot-builtin-log.c
index a53d14b..c6d725b 100644
--- a/src/ot-builtin-log.c
+++ b/src/ot-builtin-log.c
@@ -42,7 +42,7 @@ ostree_builtin_log (int argc, char **argv, const char *prefix, GError **error)
GOutputStream *pager = NULL;
const char *rev;
GVariant *commit = NULL;
- char *resolved_rev;
+ char *resolved_rev = NULL;
context = g_option_context_new ("- Show revision log");
g_option_context_add_main_entries (context, options, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]