summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2015-06-16 21:49:43 +0200
committerAlfred E. Heggestad <aeh@db.org>2015-06-16 21:49:43 +0200
commit500a7d1de384e37d609476f84dce207cccf88dc2 (patch)
tree496ad61eb5d19117470fabcb8bdb62587a374769 /src
parent55fe148705d206d206f61dd9aa119a6672378e07 (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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.h b/src/core.h
index 4c1c6bb..a9a6b16 100644
--- a/src/core.h
+++ b/src/core.h
@@ -91,7 +91,7 @@ struct auplay {
*/
struct ausrc_st {
- struct ausrc *as;
+ const struct ausrc *as;
};
struct ausrc {