Commit 7fb3a9c
Jyri Sarha
Audio: SRC: All memory allocations through module
Change all memory allocations to go through module API mod_alloc(),
mod_zalloc(), and mod_free(). The mod_free() calls are dropped form
error handling branches and from src_free() as the memory is anyway
freed as the module should unload shortly.
Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>1 parent 07c0036 commit 7fb3a9c
File tree
6 files changed
+14
-20
lines changed- src/audio/src
6 files changed
+14
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
531 | 531 | | |
532 | 532 | | |
533 | 533 | | |
534 | | - | |
| 534 | + | |
535 | 535 | | |
536 | | - | |
| 536 | + | |
537 | 537 | | |
538 | 538 | | |
539 | 539 | | |
| |||
594 | 594 | | |
595 | 595 | | |
596 | 596 | | |
597 | | - | |
| 597 | + | |
598 | 598 | | |
599 | 599 | | |
600 | 600 | | |
| |||
607 | 607 | | |
608 | 608 | | |
609 | 609 | | |
610 | | - | |
611 | | - | |
| 610 | + | |
612 | 611 | | |
613 | | - | |
| 612 | + | |
614 | 613 | | |
615 | 614 | | |
616 | 615 | | |
| |||
622 | 621 | | |
623 | 622 | | |
624 | 623 | | |
625 | | - | |
| 624 | + | |
626 | 625 | | |
627 | 626 | | |
628 | | - | |
629 | 627 | | |
630 | 628 | | |
631 | 629 | | |
632 | 630 | | |
633 | 631 | | |
634 | 632 | | |
635 | 633 | | |
636 | | - | |
| 634 | + | |
637 | 635 | | |
638 | | - | |
639 | 636 | | |
640 | 637 | | |
641 | 638 | | |
| |||
707 | 704 | | |
708 | 705 | | |
709 | 706 | | |
| 707 | + | |
710 | 708 | | |
| 709 | + | |
711 | 710 | | |
712 | 711 | | |
713 | 712 | | |
714 | 713 | | |
715 | 714 | | |
716 | | - | |
717 | | - | |
718 | 715 | | |
719 | 716 | | |
720 | 717 | | |
721 | 718 | | |
722 | 719 | | |
723 | | - | |
724 | 720 | | |
725 | | - | |
726 | 721 | | |
727 | 722 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
| 218 | + | |
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
244 | 243 | | |
245 | 244 | | |
246 | 245 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
0 commit comments