mesa/st: Actually free the driver part of memory objects on destruction.

_mesa_delete_memory_object(ctx, obj) == free(obj) but doesn't free the
part of the gallium driver.

Closes: #1206
Fixes: 49f4ecc6 "mesa/st: start adding memory object support"
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <!6148>
70 jobs for master
Status Name Job ID Coverage
  Container+Docs
manual arm_build #3913206
aarch64 manual
manual arm_test-base #3913207
manual
manual x86_build-base #3913203
manual
manual x86_build_old #3913205
manual
manual x86_test-base #3913204
manual
 
  Container 2
created arm64_test #3913217
created i386_build #3913212
created kernel+rootfs_amd64 #3913208
created kernel+rootfs_arm64 #3913209
aarch64
created kernel+rootfs_armhf #3913210
aarch64
created ppc64el_build #3913213
created s390x_build #3913214
created x86_build #3913211
created x86_test-gl #3913215
created x86_test-vk #3913216
 
  Meson X86 64
created meson-clang #3913221
created meson-classic #3913220
created meson-clover #3913222
created meson-clover-old-llvm #3913223
created meson-gallium #3913219
created meson-testing #3913218
created meson-vulkan #3913224
 
  Scons
created scons-win64 #3913225
allowed to fail
 
  Meson Misc
created meson-arm64 #3913227
aarch64
created meson-arm64-build-test #3913228
aarch64
created meson-armhf #3913226
aarch64
created meson-i386 #3913229
created meson-mingw32-x86_64 #3913232
created meson-ppc64el #3913231
kvm
created meson-s390x #3913230
kvm
 
  Llvmpipe
created llvmpipe-gles2 #3913236
created llvmpipe-traces #3913237
created piglit-glslparser #3913234
created piglit-quick_gl #3913233
created piglit-quick_shader #3913235
 
  Softpipe
created softpipe-gles2 #3913238
created softpipe-gles3 #3913239
created softpipe-gles31 1/2 #3913240
created softpipe-gles31 2/2 #3913241
 
  Freedreno
created arm64_a306_gles2 #3913251
google-freedreno-db410c
created arm64_a306_gles3 #3913252
google-freedreno-db410c
created arm64_a306_gles3_options #3913253
google-freedreno-db410c
created arm64_a530_gles2 #3913254
google-freedreno-db820c
created arm64_a530_gles3 #3913255
google-freedreno-db820c
created arm64_a530_gles31 #3913256
google-freedreno-db820c
created arm64_a630_bypass #3913246
google-freedreno-cheza
created arm64_a630_gles2 #3913242
google-freedreno-cheza
created arm64_a630_gles3 #3913244
google-freedreno-cheza
created arm64_a630_gles31 #3913243
google-freedreno-cheza
created arm64_a630_gmem #3913248
google-freedreno-cheza
created arm64_a630_noubo #3913245
google-freedreno-cheza
created arm64_a630_traces #3913247
google-freedreno-cheza
created arm64_a630_vk #3913249
google-freedreno-cheza
created arm64_a630_vk_sysmem #3913250
google-freedreno-cheza
 
  Panfrost
created panfrost-t720-gles2:arm64 #3913257
mesa-ci-aarch64-lava-collabora
created panfrost-t760-gles2:armhf #3913258
mesa-ci-aarch64-lava-collabora
created panfrost-t860-gles2:arm64 #3913259
mesa-ci-aarch64-lava-collabora
created panfrost-t860-gles3:arm64 1/2 #3913260
mesa-ci-aarch64-lava-collabora
created panfrost-t860-gles3:arm64 2/2 #3913261
mesa-ci-aarch64-lava-collabora
created panfrost-t860-traces:arm64 #3913262
mesa-ci-aarch64-lava-collabora
 
  Radv
created radv-fossils #3913263
 
  Virgl
created virgl-gl30-on-gl #3913268
created virgl-gl31-on-gl #3913269
created virgl-gl32-on-gl #3913270
created virgl-gles2-on-gl #3913264
created virgl-gles31-on-gl 1/2 #3913266
created virgl-gles31-on-gl 2/2 #3913267
created virgl-gles3-on-gl #3913265
created virgl-traces #3913271
 
  Radeonsi
created radeonsi-stoney-traces:amd64 #3913272
mesa-ci-aarch64-lava-collabora