summaryrefslogtreecommitdiff
path: root/src/trg-file-parser.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2012-01-12 08:40:24 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2012-01-12 08:40:24 +0000
commit19ad0589a0aefc571271decc45296974bb9fdba5 (patch)
treea7c352f5d5e11b29e5e6c86d810bb23cd6b7b9ad /src/trg-file-parser.c
parent41a8f63ce28e228611d72156abb39d496691d8be (diff)
fix memory leak on response from first response from server (HTTP conflict with session id).
Diffstat (limited to 'src/trg-file-parser.c')
-rw-r--r--src/trg-file-parser.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/trg-file-parser.c b/src/trg-file-parser.c
index 7cf9b89..a4854bb 100644
--- a/src/trg-file-parser.c
+++ b/src/trg-file-parser.c
@@ -83,8 +83,7 @@ static trg_files_tree_node
if (isFile) {
target_node->length = (gint64) file_length_node->val.i;
- while (lastIter)
- {
+ while (lastIter) {
lastIter->length = target_node->length;
lastIter = lastIter->parent;
}