mothra: fix crash
This commit is contained in:
parent
344ddf5f55
commit
f1efd09bbb
1 changed files with 2 additions and 1 deletions
|
@ -186,7 +186,8 @@ void rdform(Hglob *g){
|
|||
s=pl_getattr(g->attr, "alt");
|
||||
if(s==0 || *s == 0) s = f->value;
|
||||
pl_htmloutput(g, g->nsp, s, f);
|
||||
g->state->image[0] = 0;
|
||||
free(g->state->image);
|
||||
g->state->image = 0;
|
||||
g->state->width=0;
|
||||
g->state->height=0;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue