Skip to content

Commit

Permalink
Free all task preference values in handle_get_tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmundell authored and a-h-abdelsalam committed Jun 12, 2024
1 parent 7b832d4 commit f71bba7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -18556,9 +18556,13 @@ handle_get_tasks (gmp_parser_t *gmp_parser, GError **error)
auto_delete ? auto_delete : "0",
auto_delete_data ? auto_delete_data : "0");

g_free (assets_apply_overrides);
g_free (assets_min_qod);
g_free (in_assets);
g_free (max_checks);
g_free (max_hosts);
g_free (auto_delete);
g_free (auto_delete_data);
}

count++;
Expand Down

0 comments on commit f71bba7

Please sign in to comment.