<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Reviewed-by: Christian König
      <a class="moz-txt-link-rfc2396E" href="mailto:christian.koenig@amd.com"><christian.koenig@amd.com></a><br>
      <br>
      Am 01.05.2018 um 13:20 schrieb Andrey Grodzovsky:<br>
    </div>
    <blockquote type="cite"
      cite="mid:f07e3906-72f1-ee3e-b2e2-0f25c44e5fcc@amd.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <p>Reviewed-by: Andrey Grodzovsky <a
          class="moz-txt-link-rfc2396E"
          href="mailto:andrey.grodzovsky@amd.com" moz-do-not-send="true"><andrey.grodzovsky@amd.com></a>
        <br>
        <br>
        Andrey </p>
      <br>
      <div class="moz-cite-prefix">On 05/01/2018 04:03 AM, Michel Dänzer
        wrote:<br>
      </div>
      <blockquote type="cite"
        cite="mid:dc7c9c89-d301-cbd8-1d13-501ce0609b07@daenzer.net">
        <pre wrap="">On 2018-04-27 04:44 PM, Michel Dänzer wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">From: Michel Dänzer <a class="moz-txt-link-rfc2396E" href="mailto:michel.daenzer@amd.com" moz-do-not-send="true"><michel.daenzer@amd.com></a>

Fixes memory leaks.

Signed-off-by: Michel Dänzer <a class="moz-txt-link-rfc2396E" href="mailto:michel.daenzer@amd.com" moz-do-not-send="true"><michel.daenzer@amd.com></a>
---
 amdgpu/amdgpu_device.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/amdgpu/amdgpu_device.c b/amdgpu/amdgpu_device.c
index d81efcf8..983b19ab 100644
--- a/amdgpu/amdgpu_device.c
+++ b/amdgpu/amdgpu_device.c
@@ -128,6 +128,8 @@ static void amdgpu_device_free_internal(amdgpu_device_handle dev)
 {
        amdgpu_vamgr_deinit(&dev->vamgr_32);
        amdgpu_vamgr_deinit(&dev->vamgr);
+       amdgpu_vamgr_deinit(&dev->vamgr_high_32);
+       amdgpu_vamgr_deinit(&dev->vamgr_high);
        util_hash_table_destroy(dev->bo_flink_names);
        util_hash_table_destroy(dev->bo_handles);
        pthread_mutex_destroy(&dev->bo_table_mutex);

</pre>
        </blockquote>
        <pre wrap="">Any reviews? Without negative feedback, I'll push this tomorrow.


</pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
amd-gfx mailing list
<a class="moz-txt-link-abbreviated" href="mailto:amd-gfx@lists.freedesktop.org">amd-gfx@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/amd-gfx">https://lists.freedesktop.org/mailman/listinfo/amd-gfx</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>