A GTK+ / GStreamer based music player
I was keeping a vector of objects, and then pass pointers to these objects around everywhere. HOWEVER, when vectors are resized they allocate new memory and copy things over invalidating iterators and pointers to the original objects. This can cause memory corruption issues when I try to use a pointer to an object that no longer exists. The simple solution? Allocate tracks dynamically and then store the pointer in the library path. Signed-off-by: Bryan Schumaker <bjschuma@gmail.com> |
||
---|---|---|
include | ||
libsaria | ||
ocarina | ||
.gitattributes | ||
.gitignore | ||
config.py | ||
LICENSE | ||
PKGBUILD.tmpl | ||
Sconstruct |