diff options
author | Christophe Fergeau <teuf@gnome.org> | 2008-07-06 14:04:05 +0000 |
---|---|---|
committer | Christophe Fergeau <teuf@gnome.org> | 2008-07-06 14:04:05 +0000 |
commit | 7a759dc2cae9da9d0a5882c2b4c4dc0428c96e3c (patch) | |
tree | e71c473e5b5889235e1bff80f5da352d9070027e /src/db-parse-context.c | |
parent | 1cc7aea053dfc4013a6ad1b2be6eb1e658371b7e (diff) | |
download | libgpod-tmz-7a759dc2cae9da9d0a5882c2b4c4dc0428c96e3c.tar.gz libgpod-tmz-7a759dc2cae9da9d0a5882c2b4c4dc0428c96e3c.tar.xz libgpod-tmz-7a759dc2cae9da9d0a5882c2b4c4dc0428c96e3c.zip |
Remove non-useful argument to db_parse_context_destroy (patch from songbird)
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2038 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/db-parse-context.c')
-rw-r--r-- | src/db-parse-context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db-parse-context.c b/src/db-parse-context.c index 57d913a..1388626 100644 --- a/src/db-parse-context.c +++ b/src/db-parse-context.c @@ -59,11 +59,11 @@ db_parse_context_new (const unsigned char *buffer, off_t len, guint byte_order) } void -db_parse_context_destroy (DBParseContext *ctx, gboolean unmap) +db_parse_context_destroy (DBParseContext *ctx) { g_return_if_fail (ctx != NULL); - if (unmap) { + if (ctx->buffer != NULL) { munmap ((void*)ctx->buffer, ctx->total_len); } g_free (ctx); |