content: Fix potential memory leak
Merge pull request #1200 from lioncash/leak

content: Fix potential memory leak