Set name_mapping to NULL after freeing

To avoid risk of double-free.
    
Fixes #237.
1 file changed