[tests] Do no free objects that are allocated on the stack
gcc4.4 warns about these kind of objects. Fix that.
This commit is contained in:
parent
9d12ea0e47
commit
535abf2f40
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue