clover: Add explicit virtual destructor to argument class
authorJan Vesely <jan.vesely@rutgers.edu>
Fri, 4 May 2018 15:43:38 +0000 (11:43 -0400)
committerJan Vesely <jan.vesely@rutgers.edu>
Sat, 5 May 2018 17:17:08 +0000 (13:17 -0400)
commit2f1ad72ac17268989d4033e8e3f9460c68eae462
tree0a9407e4323402eea7de11eb5c91344ce1190a3d
parente4c667b9e84c88f9031769fe11c32155652825e6
clover: Add explicit virtual destructor to argument class

It is needed to destroy the v vector in scalar_argument
Fixes memory leaks on parameter set/bind.

v2: Drop redundant sclara_argument destructor

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/state_trackers/clover/core/kernel.hpp