med1844 / 2022-MUSI6106

Template project for assignments and exercises for the class MUSI6106
GNU General Public License v3.0
0 stars 0 forks source link

mem alloc/free #5

Open alexanderlerch opened 2 years ago

alexanderlerch commented 2 years ago

https://github.com/medioqrity/2022-MUSI6106/blob/e16003d68633aeb13cdd4f77be47d3caf85460e1/src/CombFilter/CombFilter.cpp#L10

I usually prefer to have memory allocation and deallocation symmetric, e.g., by using a init/destroy function pair.