assembly: fix a memory leak in graph store

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>