mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-19 18:52:39 +03:00
fix beos throbber allocation
This commit is contained in:
parent
ff312f214e
commit
0a6e8fc0b0
@ -64,7 +64,7 @@ bool nsbeos_throbber_initialise_from_png(const int frames, ...)
|
||||
return false;
|
||||
}
|
||||
|
||||
throb = (struct nsbeos_throbber *)malloc(sizeof(throb));
|
||||
throb = (struct nsbeos_throbber *)malloc(sizeof(*throb));
|
||||
throb->nframes = frames;
|
||||
throb->framedata = (BBitmap **)malloc(sizeof(BBitmap *) * throb->nframes);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user