diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-06-14 18:38:50 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-06-14 18:38:50 +0000 |
commit | c8cf0c1ce9cf1b38b302ae4a2a6fa798fef85f08 (patch) | |
tree | 9f73e3140dc8762a78b4972f921077f39c4b66b0 /src/source.c | |
parent | edfad835cb7e4ab9f62de81cf4bf6b6ad9610b02 (diff) |
a bunch of fixes
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@10 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/source.c')
-rw-r--r-- | src/source.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/source.c b/src/source.c index 98df2447..a1e7b245 100644 --- a/src/source.c +++ b/src/source.c @@ -27,12 +27,6 @@ struct source* source_new(struct core *core, const char *name, const struct samp return s; } -static void do_free(void *p, void *userdata) { - struct output_stream *o = p; - assert(o); - output_stream_free(o); -}; - void source_free(struct source *s) { struct output_stream *o; assert(s); @@ -42,7 +36,6 @@ void source_free(struct source *s) { idxset_free(s->output_streams, NULL, NULL); idxset_remove_by_data(s->core->sources, s, NULL); - idxset_free(s->output_streams, do_free, NULL); free(s->name); free(s); |