Need to check if the content was freed as otherwise it may have side-effects.