VcProjectManager: Fix compiler warnings

+ memory leak

Change-Id: Iadbd0b2c70c5906b3f22aa3cd4134d1c184d6baf
Reviewed-by: Radovan Zivkovic <pivonroll@gmail.com>