Removed memset for class with smart_pointers.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>