[grilo-plugins] [apple-trailers] Solved memory problem when decreasing pending count
- From: Xabier Rodriguez Calvar <xrcalvar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] [apple-trailers] Solved memory problem when decreasing pending count
- Date: Fri, 23 Apr 2010 14:50:51 +0000 (UTC)
commit d4772460188ca47ce72407b82535fb07b1ece694
Author: Xabier Rodriguez Calvar <xrcalvar igalia com>
Date: Fri Apr 23 12:13:34 2010 +0200
[apple-trailers] Solved memory problem when decreasing pending count
src/apple-trailers/grl-apple-trailers.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/apple-trailers/grl-apple-trailers.c b/src/apple-trailers/grl-apple-trailers.c
index 37afc4d..d183e91 100644
--- a/src/apple-trailers/grl-apple-trailers.c
+++ b/src/apple-trailers/grl-apple-trailers.c
@@ -271,7 +271,8 @@ send_movie_info (OperationData *op_data)
op_data->bs->user_data,
NULL);
op_data->xml_entries = op_data->xml_entries->next;
- op_data->bs->count--;
+ if (!last)
+ op_data->bs->count--;
}
if (last) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]