From 2c7a776e8882b7896090a24dc09ccd42e6f8a6ca Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 28 Jun 2009 21:02:47 +0200 Subject: Finally clean up curl garbage I missed some #includes. Documentation had to be updated, too. --- libpiano/src/main.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'libpiano/src/main.c') diff --git a/libpiano/src/main.c b/libpiano/src/main.c index 94afee9..bb282fb 100644 --- a/libpiano/src/main.c +++ b/libpiano/src/main.c @@ -61,9 +61,7 @@ void PianoFree (void *ptr, size_t size) { } } -/* initialize piano handle, set up curl handle and settings; note: _you_ have - * to init curl and libxml2 using curl_global_init (CURL_GLOBAL_SSL) and - * xmlInitParser (), _you_ also have to cleanup their garbage on your own! +/* initialize piano handle * @param piano handle * @return nothing */ @@ -157,9 +155,7 @@ void PianoDestroyPlaylist (PianoHandle_t *ph) { ph->playlist = NULL; } -/* frees the whole piano handle structure; this will _not_ cleanup curl's - * internal garbage, you have to call curl_global_cleanup () and - * xmlCleanupParser () for libxml2 +/* frees the whole piano handle structure * @param piano handle * @return nothing */ -- cgit v1.2.3