Reproduction example showing how nvEncUnregisterResource no longer releases resources correctly causing a memory leak.