[PATCH 5.0 038/137] qede: fix write to freed pointer error and double free of ptp