[gnome-builder] create-project: add =NULL to g_autofree declarations
- From: Matthew Leeds <mwleeds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] create-project: add =NULL to g_autofree declarations
- Date: Mon, 1 Aug 2016 15:46:08 +0000 (UTC)
commit f737d139e4a139817f9200d2a907b5e11702fa1d
Author: Matthew Leeds <mleeds redhat com>
Date: Mon Aug 1 11:40:44 2016 -0400
create-project: add =NULL to g_autofree declarations
.../gbp-create-project-template-icon.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/create-project/gbp-create-project-template-icon.c
b/plugins/create-project/gbp-create-project-template-icon.c
index 9007840..5a483bf 100644
--- a/plugins/create-project/gbp-create-project-template-icon.c
+++ b/plugins/create-project/gbp-create-project-template-icon.c
@@ -63,8 +63,8 @@ gbp_create_project_template_icon_set_property (GObject *object,
GParamSpec *pspec)
{
GbpCreateProjectTemplateIcon *self = GBP_CREATE_PROJECT_TEMPLATE_ICON (object);
- g_autofree gchar *icon_name;
- g_autofree gchar *name;
+ g_autofree gchar *icon_name = NULL;
+ g_autofree gchar *name = NULL;
switch (prop_id)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]