Age | Commit message (Collapse) | Author |
|
Fixes two problems:
1. Copious memory leaks via strdup()
2. Hardcoded default /data/data, not used anywhere else
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Otherwise, the later code adds the new RGs to a shallow copy of the old
list (i.e. just a copy of the pointer). Hilarity ensues.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
to when the image is loaded
|