b8e6bce fixed x_free patch

Authored and Committed by Jakub Dorňák 8 years ago
    fixed x_free patch