nvdla / hw

RTL, Cmodel, and testbench for NVDLA
Other
1.72k stars 567 forks source link

what if m_mm == NULL when deleteGPMemManager is called? #364

Open gxflying opened 2 years ago

gxflying commented 2 years ago

https://github.com/nvdla/hw/blob/8e06b1b9d85aab65b40d43d08eec5ea4681ff715/cmod/nvdla_payload/gp_mm.cpp#L27 hi sir, should it be more robust like this? if (m_mm != NULL) delete m_mm;