asn1tostruct.py: Fix memory leaks in generated code

The decode_*ies functions did not clean up after them. This change is
taken from changes made to asn1tostruct.py in openair-cn repository.
1 file changed