picture_pool: factorize the code to clone a picture for Wait/Get
[vlc.git] / modules / access / dcp / dcpdecrypt.cpp
index 88cce85..0531b3d 100644 (file)
@@ -523,7 +523,7 @@ error:
 int RSAKey::readDER( unsigned char const* ps_data_der, size_t length )
 {
     struct tag_info tag_inf;
-    gcry_mpi_t key_params[8];
+    gcry_mpi_t key_params[8] = { NULL };
     gcry_error_t err;
 
     /* parse the ASN1 structure */