From 8f877c5b6575e6d7b51961d926e5782ae7a2c4f2 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 1 Nov 2011 12:24:34 -0400 Subject: [PATCH] log: Fix a crash --- src/ot-builtin-log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ot-builtin-log.c b/src/ot-builtin-log.c index a53d14b0..c6d725b1 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);