1destroy_sample(3) Allegro manual destroy_sample(3)
2
3
4
6 destroy_sample - Destroys a sample structure when you are done with it.
7 Allegro game programming library.
8
10 #include <allegro.h>
11
12
13 void destroy_sample(SAMPLE *spl);
14
16 Destroys a sample structure when you are done with it. It is safe to
17 call this even when the sample might be playing, because it checks and
18 will kill it off if it is active. Use this to avoid memory leaks in
19 your program.
20
21
23 load_sample(3), exsample(3)
24
25
26
27Allegro version 4.2.3 destroy_sample(3)