Fix a memory leak in MklDnnData.
This commit fixes leak caused by field user_memory_, which I can repro and verify. From reading the code, I think the same leak may happen to fields like reorder_memory_. Since I cannot repro or verify the later, I'll leave it the authors.
Loading
Please sign in to comment