diff options
-rw-r--r-- | src/rest.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -315,6 +315,8 @@ int og_send_request(enum og_rest_method method, enum og_cmd_type type, cli->last_cmd = type; } + json_decref((json_t *)data); + return 0; } |
index : ogserver | ||
core server with REST API | opengnsys@soleta.eu |
summaryrefslogtreecommitdiffstats |
-rw-r--r-- | src/rest.c | 2 |
@@ -315,6 +315,8 @@ int og_send_request(enum og_rest_method method, enum og_cmd_type type, cli->last_cmd = type; } + json_decref((json_t *)data); + return 0; } |