Effect config parser: fix use after free on file path am: 2fae5b7c8d
am: 58a839d2c0

Change-Id: Ie0d21f3dccee4af8b0da3e57139a6ef41ef7591e