DLC bug fix

This commit is contained in:
tpu committed 2013-04-26 12:05:21 +08:00
1 parent 641b78ab67
commit 28e61dcda7
1 file changed
+4 -2
+4 -2
View File
@@ -702,8 +702,10 @@ int pgd_decrypt_block(PGD_DESC *pgd, int block)
int pgd_close(PGD_DESC *pgd)
{
free(pgd->block_buf);
free(pgd);
if(pgd){
free(pgd->block_buf);
free(pgd);
}
return 0;
}