[gnome-software/gnome-3-20] trivial: Fix a potential crash
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-20] trivial: Fix a potential crash
- Date: Thu, 26 May 2016 14:34:31 +0000 (UTC)
commit 77145f0eeeba5add36dc9271838f45823260832b
Author: Richard Hughes <richard hughsie com>
Date: Thu May 26 15:34:09 2016 +0100
trivial: Fix a potential crash
src/gs-review-row.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-review-row.c b/src/gs-review-row.c
index 4ca4989..f6913f7 100644
--- a/src/gs-review-row.c
+++ b/src/gs-review-row.c
@@ -61,7 +61,7 @@ gs_review_row_refresh (GsReviewRow *row)
GsReviewRowPrivate *priv = gs_review_row_get_instance_private (row);
const gchar *reviewer;
GDateTime *date;
- g_autofree gchar *text;
+ g_autofree gchar *text = NULL;
gs_star_widget_set_rating (GS_STAR_WIDGET (priv->stars),
gs_review_get_rating (priv->review));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]