summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a999844)
raw | patch | inline | side by side (parent: a999844)
author | Florian Forster <octo@verplant.org> | |
Thu, 9 Sep 2010 08:02:00 +0000 (10:02 +0200) | ||
committer | Florian Forster <octo@verplant.org> | |
Thu, 9 Sep 2010 08:02:00 +0000 (10:02 +0200) |
src/action_graph_data_json.c | patch | blob | history | |
src/action_graph_def_json.c | patch | blob | history |
index 388befd972bd01920c3385ef8d98d30612ecfd31..e103b975d94fed80e33b3ec0098c81a05d8dd93b 100644 (file)
/* alloc functions = */ NULL,
/* context = */ NULL);
if (handler == NULL)
- {
- graph_destroy (cfg);
return (-1);
- }
printf ("Content-Type: application/json\n");
status = inst_data_to_json (inst,
dp_begin, dp_end, handler);
- graph_destroy (cfg);
yajl_gen_free (handler);
return (status);
index 684ad7a0db850ede798cd31069e5455ae912619f..1ba067892459b7d231a0c7cd872bfa64e44676d0 100644 (file)
/* alloc functions = */ NULL,
/* context = */ NULL);
if (handler == NULL)
- {
- graph_destroy (cfg);
return (-1);
- }
printf ("Content-Type: application/json\n");
status = graph_def_to_json (cfg, handler);
- graph_destroy (cfg);
yajl_gen_free (handler);
return (status);