Fixed memory leak in oimerge.