From 34d022c16e654975c771f76511ef0d89bef6bec2 Mon Sep 17 00:00:00 2001 From: Jyri Sarha Date: Thu, 13 Jan 2011 16:44:41 +0200 Subject: core: Change sematics of pa_flist_new_with_name() (v1.1) Name string is copied and added to flist structure. The original is responsibility of the caller. The name is only used for debug printing. --- src/pulsecore/flist.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pulsecore/flist.h') diff --git a/src/pulsecore/flist.h b/src/pulsecore/flist.h index 7fb50359..915b1135 100644 --- a/src/pulsecore/flist.h +++ b/src/pulsecore/flist.h @@ -33,8 +33,8 @@ typedef struct pa_flist pa_flist; pa_flist * pa_flist_new(unsigned size); -/* Freeing the name is responsibility of caller. The name is only used - * for debug printing. */ +/* Name string is copied and added to flist structure. The original is + * responsibility of the caller. The name is only used for debug printing. */ pa_flist * pa_flist_new_with_name(unsigned size, const char *name); void pa_flist_free(pa_flist *l, pa_free_cb_t free_cb); -- cgit