#812 fix use-after-free bug when storing APS
Store will delete aps pointer if it was already stored (and did not changed), resulting in UAF bug when checking type of pointer.
Edited by Pierrick Bouvier
Store will delete aps pointer if it was already stored (and did not changed), resulting in UAF bug when checking type of pointer.