X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fpulsecore%2Fprotocol-native.c;h=ee2bc4f506576ffe2e4b24b63950a2be8ae3cd91;hb=e418e49ecbd643f3cac87438d00baaf86275927c;hp=833217904398c1b7d4024e7f3da14fdffc8a4ad0;hpb=13229fb39e7b8cff3f114c98f8236d9123442243;p=profile%2Fivi%2Fpulseaudio.git diff --git a/src/pulsecore/protocol-native.c b/src/pulsecore/protocol-native.c index 8332179..ee2bc4f 100644 --- a/src/pulsecore/protocol-native.c +++ b/src/pulsecore/protocol-native.c @@ -35,6 +35,7 @@ #include #include #include +#include #include #include @@ -1849,10 +1850,6 @@ static pa_tagstruct *reply_new(uint32_t tag) { return reply; } -static void free_format_info(pa_format_info *f, void *userdata) { - pa_format_info_free(f); -} - static void command_create_playback_stream(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_tagstruct *t, void *userdata) { pa_native_connection *c = PA_NATIVE_CONNECTION(userdata); playback_stream *s; @@ -2110,7 +2107,7 @@ error: if (p) pa_proplist_free(p); if (formats) - pa_idxset_free(formats, (pa_free2_cb_t) free_format_info, NULL); + pa_idxset_free(formats, (pa_free2_cb_t) pa_format_info_free2, NULL); return; }