Fix memory leak with target animation in Avatar.cpp
Merge pull request #1149 from dorkster/fixes

Fix memory leak with target animation in Avatar.cpp