aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2009-06-06 13:54:02 +0000
committerHolger Freyther <zecke@selfish.org>2009-06-06 13:54:02 +0000
commit535abf2f40da5724ae03cb7de0b09136a45926fd (patch)
tree99484e633ee3475215230518bce86ac4f53d0aac /tests
parent9d12ea0e47177a4e97fa1484c2389f5a0c169a2b (diff)
[tests] Do no free objects that are allocated on the stack
gcc4.4 warns about these kind of objects. Fix that.
Diffstat (limited to 'tests')
-rw-r--r--tests/sms/sms_test.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/sms/sms_test.c b/tests/sms/sms_test.c
index 2b55b97f9..dfc43cf70 100644
--- a/tests/sms/sms_test.c
+++ b/tests/sms/sms_test.c
@@ -90,10 +90,6 @@ int main(int argc, char** argv)
printf("Wanted: '%s' got '%s'\n", input, result);
}
- free(coded);
- free(result);
-
-
for(i=0;i<SMS_NUM;i++) {
/* Setup SMS msgb */
msg = msgb_alloc(sms_data[i].len);