Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Ahmed <144101267+a-h-abdelsalam@users.noreply.github.com>
  • Loading branch information
timopollmeier and a-h-abdelsalam committed Feb 20, 2024
1 parent ca4cecf commit 71f88e7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/gsad_gmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -7773,7 +7773,7 @@ export_report_config_gmp (gvm_connection_t *connection,
* @param[in] params Request parameters.
* @param[out] response_data Extra data return for the HTTP response.
*
* @return Report Formats XML on success. Enveloped XML
* @return Report Configs XML on success. Enveloped XML
* on error.
*/
char *
Expand Down Expand Up @@ -10574,6 +10574,8 @@ create_report_config_gmp (gvm_connection_t *connection,
"Create Report Config", response_data);
free_entity (entity);
g_free (response);
g_hash_table_destroy (config_params);
g_hash_table_destroy (default_config_params);
return html;
}

Expand Down Expand Up @@ -10686,6 +10688,8 @@ save_report_config_gmp (gvm_connection_t *connection,
"Save Report Config", response_data);
free_entity (entity);
g_free (response);
g_hash_table_destroy (config_params);
g_hash_table_destroy (default_config_params);
return html;
}

Expand Down

0 comments on commit 71f88e7

Please sign in to comment.