Commit ec9b7176 authored by Rémi Duraffort's avatar Rémi Duraffort

Fix sizeof mismatch (cid #1049620)

parent b1b5a546
......@@ -2846,7 +2846,7 @@ static void AppendAttachment( int *pi_attachment, input_attachment_t ***ppp_atta
int i;
attachment = xrealloc( attachment,
sizeof(input_attachment_t**) * ( i_attachment + i_new ) );
sizeof(*attachment) * ( i_attachment + i_new ) );
for( i = 0; i < i_new; i++ )
attachment[i_attachment++] = pp_new[i];
free( pp_new );
......
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