Commit 4fc3c93c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

ps: fix double free

parent 230ba3f4
......@@ -676,7 +676,7 @@ static inline int ps_psm_fill( ps_psm_t *p_psm, block_t *p_pkt,
}
}
tmp_es = realloc_or_free( p_psm->es, sizeof(ps_es_t *) * (p_psm->i_es+1) );
tmp_es = realloc( p_psm->es, sizeof(ps_es_t *) * (p_psm->i_es+1) );
if( tmp_es )
{
p_psm->es = tmp_es;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment