Fix use after free error
Fix use after free error

Summary: Fix use after free error

Reviewed By: Gownta

Differential Revision: D37742852

fbshipit-source-id: 79fb1a8840fb1ca62e0ffea21b10a03fe6bf303f

facebook/folly,facebook/folly,facebook/folly,facebook/folly,facebook/folly