]> granicus.if.org Git - handbrake/commit
nvenc: fix crash in nvenc_load_functions
authorJohn Stebbins <jstebbins.hb@gmail.com>
Fri, 29 Jun 2018 21:29:18 +0000 (14:29 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Fri, 29 Jun 2018 21:29:18 +0000 (14:29 -0700)
commit40a48b75ff4c15bfa812f517cb7a32cfd8e1e8c7
treed62db0f1c689362aebb7ddfe44d7c630493c566b
parent79825db0caa3a5d7cd6293eefdc095e7884b1b56
nvenc: fix crash in nvenc_load_functions

nvenc_load_functions tries to free the input NvencFunctions before
loading.  Set pointer to NULL to prevent free of invalid pointer.
libhb/nvenc_common.c