overrides: fix memory leak in pyg_boxed_new
authorJose Quaresma <quaresma.jose@gmail.com>
Sun, 14 Jun 2020 15:34:50 +0000 (16:34 +0100)
committerJose Quaresma <quaresma.jose@gmail.com>
Fri, 10 Jul 2020 16:02:24 +0000 (17:02 +0100)
commit9a31b01486a267689bb820079206c72e1ec6de53
tree2cd047fa5dd971890f8c0d18ea45e70d7e057c40
parent4c3ffc78b7a7c3d2680fcf773ad6bf2b7d4320d4
overrides: fix memory leak in pyg_boxed_new

pyg_boxed_new cause a memory leak if it hold a copy of the boxed wrapper and freed when the wrapper is deallocated.
use the boxed wrapper value itself and don't hold a copy of the value.
gi/overrides/gstmodule.c