Fix mismatched malloc/delete.
Fix mismatched malloc/delete.

Change-Id: I049ae522adf81a8c9a378b33fb80076492442726
Reviewed-on: http://gerrit.cloudera.org:8080/824
Reviewed-by: Ippokratis Pandis <49df5a81b84182d67af5e425b1c52ae595fc1f17@cloudera.com>
Tested-by: Internal Jenkins

rdblue/Impala,theyaa/Impala,lnliuxing/Impala,bowlofstew/Impala,cchanning/Impala,cchanning/Impala,bratatidas9/Impala-1,theyaa/Impala,lnliuxing/Impala,bratatidas9/Impala-1,bratatidas9/Impala-1,lnliuxing/Impala,cchanning/Impala,cchanning/Impala,theyaa/Impala,bratatidas9/Impala-1,brightchen/Impala,brightchen/Impala,cchanning/Impala,lnliuxing/Impala,XiaominZhang/Impala,theyaa/Impala,cchanning/Impala,rdblue/Impala,rdblue/Impala,bowlofstew/Impala,brightchen/Impala,bratatidas9/Impala-1,kapilrastogi/Impala,cchanning/Impala,lnliuxing/Impala,theyaa/Impala,brightchen/Impala,rdblue/Impala,XiaominZhang/Impala,rdblue/Impala,kapilrastogi/Impala,bowlofstew/Impala,XiaominZhang/Impala,theyaa/Impala,kapilrastogi/Impala,bowlofstew/Impala,kapilrastogi/Impala,rdblue/Impala,XiaominZhang/Impala,XiaominZhang/Impala,kapilrastogi/Impala,bratatidas9/Impala-1,lnliuxing/Impala,brightchen/Impala,bowlofstew/Impala,kapilrastogi/Impala,rdblue/Impala,XiaominZhang/Impala,lnliuxing/Impala,kapilrastogi/Impala,bowlofstew/Impala,brightchen/Impala,bratatidas9/Impala-1,bowlofstew/Impala,brightchen/Impala,XiaominZhang/Impala,theyaa/Impala