commit | 535abf2f40da5724ae03cb7de0b09136a45926fd | [log] [tgz] |
---|---|---|
author | Holger Freyther <zecke@selfish.org> | Sat Jun 06 13:54:02 2009 +0000 |
committer | Holger Freyther <zecke@selfish.org> | Sat Jun 06 13:54:02 2009 +0000 |
tree | 99484e633ee3475215230518bce86ac4f53d0aac | |
parent | 9d12ea0e47177a4e97fa1484c2389f5a0c169a2b [diff] |
[tests] Do no free objects that are allocated on the stack gcc4.4 warns about these kind of objects. Fix that.
diff --git a/tests/sms/sms_test.c b/tests/sms/sms_test.c index 2b55b97..dfc43cf 100644 --- a/tests/sms/sms_test.c +++ b/tests/sms/sms_test.c
@@ -90,10 +90,6 @@ 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);