summaryrefslogtreecommitdiff
path: root/legacy/eet/src
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2012-08-22 14:07:04 +0000
committerDaniel Juyung Seo <seojuyung2@gmail.com>2012-08-22 14:07:04 +0000
commit5070bbdf60d620aad41f4fe199f4c8be94c2001c (patch)
tree5054be54712fe55ee0c6abd4e7bdc3b99b5de781 /legacy/eet/src
parent5421fc5757e0a5bb461662f6fd380cec66b08931 (diff)
eet eet_data.c: Fixed memory leak spotted by Igor Murzov (GArik_) <e-mail@date.by>
SVN revision: 75552
Diffstat (limited to 'legacy/eet/src')
-rw-r--r--legacy/eet/src/lib/eet_data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/legacy/eet/src/lib/eet_data.c b/legacy/eet/src/lib/eet_data.c
index fffb2ecde4..d06d3eaceb 100644
--- a/legacy/eet/src/lib/eet_data.c
+++ b/legacy/eet/src/lib/eet_data.c
@@ -1560,9 +1560,9 @@ case EET_T_ ## Type: type += EET_I_ ## Type; break;
1560 if (chnk->data) 1560 if (chnk->data)
1561 eet_data_stream_write(ds, chnk->data, chnk->size); 1561 eet_data_stream_write(ds, chnk->data, chnk->size);
1562 1562
1563 free(string);
1564on_error:
1565 free(size); 1563 free(size);
1564on_error:
1565 free(string);
1566} 1566}
1567 1567
1568/*---*/ 1568/*---*/