diff options
author | nagappan <nagappan> | 2005-10-12 13:59:51 +0000 |
---|---|---|
committer | nagappan <nagappan> | 2005-10-12 13:59:51 +0000 |
commit | 36d95088dbb379740e89ff28a4eada157c68fd22 (patch) | |
tree | 43fb9512792eefbe0c85271b6bd2f4e2aeab899a | |
parent | 25d6970b21b6a3a8c18454a28d5c4917f563b8b7 (diff) |
2005-10-12 Prashanth <prashmohan@gmail.com>
* Fixed crash, when dialog name is empty
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | appmap-gen.c | 8 |
2 files changed, 6 insertions, 4 deletions
@@ -1,3 +1,5 @@ +2005-10-12 Prashanth <prashmohan@gmail.com> + * Fixed crash, when dialog name is empty 2005-10-11 Nagappan A <anagappan@novell.com> * Fixed SPI leaks in get_relation_name 2005-10-11 Premkumar J <jpremkumar@novell.com> diff --git a/appmap-gen.c b/appmap-gen.c index ba583a0..e9e5671 100644 --- a/appmap-gen.c +++ b/appmap-gen.c @@ -753,6 +753,10 @@ void insert_context_header (FILE *fp, Accessible *accessible) name = g_strdup_printf ("%s%s", cur_obj_info->prefix, tmp_data); g_free (tmp_data); g_free (stripped_data); + g_free (label); + g_free (cur_obj_info->object_type); + g_free (cur_obj_info->prefix); + g_free (cur_obj_info); } else { @@ -770,12 +774,8 @@ void insert_context_header (FILE *fp, Accessible *accessible) size = strlen (object_record); fwrite (object_record, sizeof (char), size, fp); - g_free (label); g_free (name); g_free (object_record); - g_free (cur_obj_info->object_type); - g_free (cur_obj_info->prefix); - g_free (cur_obj_info); } void create_appmap (FILE *fp, Accessible *accessible, char *application_name) |