Fixed memory leak in operator+= function