summaryrefslogtreecommitdiff
path: root/legacy/eet/src/examples
diff options
context:
space:
mode:
authorIván Briano <sachieru@gmail.com>2011-06-28 18:05:19 +0000
committerIván Briano <sachieru@gmail.com>2011-06-28 18:05:19 +0000
commit396d0ced07db29ad860abea48472f117a046dad6 (patch)
treee7abf8bb543b455d80005b3e55a52f50f370b9fe /legacy/eet/src/examples
parent003ab96f812e92f95511569b7b1d21a1d281b577 (diff)
don't leak
SVN revision: 60770
Diffstat (limited to 'legacy/eet/src/examples')
-rw-r--r--legacy/eet/src/examples/eet-basic.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/legacy/eet/src/examples/eet-basic.c b/legacy/eet/src/examples/eet-basic.c
index 2c85a54971..390cd713d6 100644
--- a/legacy/eet/src/examples/eet-basic.c
+++ b/legacy/eet/src/examples/eet-basic.c
@@ -26,10 +26,13 @@ main(void)
26 ef = eet_open("test.eet", EET_FILE_MODE_READ); 26 ef = eet_open("test.eet", EET_FILE_MODE_READ);
27 ret = eet_read(ef, "Entry 1", &size); 27 ret = eet_read(ef, "Entry 1", &size);
28 printf("%s\n", ret); 28 printf("%s\n", ret);
29 free(ret);
29 ret = eet_read(ef, "Entry 2", &size); 30 ret = eet_read(ef, "Entry 2", &size);
30 printf("%s\n", ret); 31 printf("%s\n", ret);
32 free(ret);
31 ret = eet_read(ef, "Entry 3", &size); 33 ret = eet_read(ef, "Entry 3", &size);
32 printf("%s\n", ret); 34 printf("%s\n", ret);
35 free(ret);
33 eet_close(ef); 36 eet_close(ef);
34 37
35 eet_shutdown(); 38 eet_shutdown();