summaryrefslogtreecommitdiffstats
path: root/README.Coding
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-05-11 08:03:56 +0200
committerStefan Metzmacher <metze@samba.org>2010-05-11 08:03:56 +0200
commitb8c414b35f1bd37a70af7746ee5cc9427e4e31ee (patch)
tree7191fd800ce2728e8f34dcda8eecc23e636ad93e /README.Coding
parent9e643f0784c9af1c60b3fb879a46059a1355862b (diff)
downloadsamba-b8c414b35f1bd37a70af7746ee5cc9427e4e31ee.tar.gz
samba-b8c414b35f1bd37a70af7746ee5cc9427e4e31ee.tar.xz
samba-b8c414b35f1bd37a70af7746ee5cc9427e4e31ee.zip
README.Coding: fix good example
metze
Diffstat (limited to 'README.Coding')
-rw-r--r--README.Coding3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.Coding b/README.Coding
index ddeacc934a..8bfd86f7b3 100644
--- a/README.Coding
+++ b/README.Coding
@@ -210,8 +210,9 @@ Good Examples::
print("Allocated %d elements.\n", y);
done:
- if (z)
+ if (z) {
free(z);
+ }
return ret;
}