diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2011-03-09 16:43:27 +0100 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2011-03-09 16:43:27 +0100 |
commit | 4db62cf9807f4ec11a7c8c8c91875080c90f0ec1 (patch) | |
tree | b4c0fc570d016c853813543bdf008cd5f2f06ef0 /src/lib/event_xml_parser.c | |
parent | 1a55a94467587abb920dc37e38f339997374e8cc (diff) | |
download | abrt-4db62cf9807f4ec11a7c8c8c91875080c90f0ec1.tar.gz abrt-4db62cf9807f4ec11a7c8c8c91875080c90f0ec1.tar.xz abrt-4db62cf9807f4ec11a7c8c8c91875080c90f0ec1.zip |
gui-wizard-gtk: add load_event_config_data() to wizard
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/lib/event_xml_parser.c')
-rw-r--r-- | src/lib/event_xml_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/event_xml_parser.c b/src/lib/event_xml_parser.c index 5f1974fd..be4a9e09 100644 --- a/src/lib/event_xml_parser.c +++ b/src/lib/event_xml_parser.c @@ -37,7 +37,7 @@ static void start_element(GMarkupParseContext *context, if (in_option == 0) { in_option = 1; - event_option_t *option = xzalloc(sizeof(*option)); + event_option_t *option = new_event_option(); //we need to prepend, so ui->options always points to the last created option VERB2 log("adding option"); ui->options = g_list_prepend(ui->options, option); |