From 78f386ad45dc046d673fca5441dff188a7297059 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 15 Jun 2004 15:18:33 +0000 Subject: more work git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@17 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/source.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/source.c') diff --git a/src/source.c b/src/source.c index 2d5e9bbd..a7fc9a64 100644 --- a/src/source.c +++ b/src/source.c @@ -1,3 +1,4 @@ +#include #include #include #include @@ -24,6 +25,8 @@ struct source* source_new(struct core *core, const char *name, const struct samp s->link_change_callback = NULL; s->userdata = NULL; + fprintf(stderr, "source: created %u \"%s\"\n", s->index, s->name); + return s; } @@ -40,6 +43,8 @@ void source_free(struct source *s) { idxset_remove_by_data(s->core->sources, s, NULL); + fprintf(stderr, "source: freed %u \"%s\"\n", s->index, s->name); + free(s->name); free(s); } -- cgit