Skip to content

Commit

Permalink
Fix leak in gstc_pipeline_list
Browse files Browse the repository at this point in the history
  • Loading branch information
jsalas98 committed Oct 4, 2024
1 parent 7889d82 commit fda5d6e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libgstc/c/libgstc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1083,6 +1083,8 @@ gstc_pipeline_list (GstClient * client, char **pipelines[], int *list_lenght)
ret = gstc_json_get_child_char_array (response, "response", "nodes",
"name", pipelines, list_lenght);

free (response);

out:
return ret;

Expand Down

0 comments on commit fda5d6e

Please sign in to comment.