Skip to content

Commit

Permalink
Merge branch 'main' into edit-config-family-separate
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmundell authored Oct 24, 2023
2 parents 9138d80 + c4282f8 commit 98cc90f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ cmake_minimum_required (VERSION 3.0)

message ("-- Configuring gsad")

project (gsad VERSION 22.6.1 LANGUAGES C)
project (gsad VERSION 22.7.1 LANGUAGES C)

if (NOT DEFINED PROJECT_VERSION_STRING)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
Expand Down
4 changes: 1 addition & 3 deletions src/gsad.c
Original file line number Diff line number Diff line change
Expand Up @@ -1239,7 +1239,7 @@ exec_gmp_get (http_connection_t *con, gsad_connection_info_t *con_info,
const int CMD_MAX_SIZE = 27; /* delete_trash_lsc_credential */
params_t *params = con_info->params;
gvm_connection_t connection;
char *res = NULL, *comp;
char *res = NULL, *comp = NULL;
gsize res_len = 0;
http_response_t *response;
cmd_response_data_t *response_data;
Expand Down Expand Up @@ -1560,8 +1560,6 @@ exec_gmp_get (http_connection_t *con, gsad_connection_info_t *con_info,
res = comp;
}
}
else
comp = NULL;

response = MHD_create_response_from_buffer (res_len, (void *) res,
MHD_RESPMEM_MUST_FREE);
Expand Down

0 comments on commit 98cc90f

Please sign in to comment.