OpenSC/OpenSC — pull request #216 by nmav (2014-02-25 11:22:57+00:00)
Title: Ensure that pointers don't get out of scope

When setting pointers to a template, ensure they do not get out of scope prior of being used.
This was causing issues when using pkcs11-tool with opencryptoki:
https://bugzilla.redhat.com/show_bug.cgi?id=1062307

Signed-off-by: Nikos Mavrogiannopoulos