source:
tests/src/test-delnull.c
@
6121dd4
Last change on this file since 6121dd4 was 332487b, checked in by , 11 years ago | |
---|---|
|
|
File size: 271 bytes |
Rev | Line | |
---|---|---|
[7e35b37] | 1 | #include <stdlib.h> |
[332487b] | 2 | #include "aubio.h" |
[7e35b37] | 3 | |
[c0916f2] | 4 | // Because aubio does not check for double free, this program will crash. |
5 | // Programs that call these functions should check for null pointers. | |
6 | ||
[158e031] | 7 | int main (void) |
[7e35b37] | 8 | { |
9 | del_fvec(NULL); | |
10 | del_lvec(NULL); | |
11 | del_cvec(NULL); | |
12 | return 0; | |
13 | } |
Note: See TracBrowser
for help on using the repository browser.