diff options
author | Alfred E. Heggestad <aeh@db.org> | 2015-06-16 21:49:43 +0200 |
---|---|---|
committer | Alfred E. Heggestad <aeh@db.org> | 2015-06-16 21:49:43 +0200 |
commit | 500a7d1de384e37d609476f84dce207cccf88dc2 (patch) | |
tree | 496ad61eb5d19117470fabcb8bdb62587a374769 /src | |
parent | 55fe148705d206d206f61dd9aa119a6672378e07 (diff) |
change ausrc/auplay base-class to pointer
- change from a memory-reference to a const pointer
- this saves one mem_deref() in the destructor and also
decreases the chance of introducing memory leaks
- test on debian
Diffstat (limited to 'src')
-rw-r--r-- | src/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -91,7 +91,7 @@ struct auplay { */ struct ausrc_st { - struct ausrc *as; + const struct ausrc *as; }; struct ausrc { |