diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/input/curl_input_plugin.c | 2 | ||||
-rw-r--r-- | src/output/pulse_output_plugin.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/input/curl_input_plugin.c b/src/input/curl_input_plugin.c index d4c116136..dfe2e53c5 100644 --- a/src/input/curl_input_plugin.c +++ b/src/input/curl_input_plugin.c @@ -780,7 +780,7 @@ buffer_free_callback(gpointer data, G_GNUC_UNUSED gpointer user_data) assert(buffer->consumed <= buffer->size); - g_free(data); + g_free(buffer); } static void diff --git a/src/output/pulse_output_plugin.c b/src/output/pulse_output_plugin.c index 9825785ee..ecd6a487a 100644 --- a/src/output/pulse_output_plugin.c +++ b/src/output/pulse_output_plugin.c @@ -72,7 +72,8 @@ pulse_output_set_mixer(struct pulse_output *po, struct pulse_mixer *pm) } void -pulse_output_clear_mixer(struct pulse_output *po, struct pulse_mixer *pm) +pulse_output_clear_mixer(struct pulse_output *po, + G_GNUC_UNUSED struct pulse_mixer *pm) { assert(po != NULL); assert(pm != NULL); |