Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/0a6e8fc0b072da21c7ec9c8d602b7ffad6bd4100
...commit
http://git.netsurf-browser.org/netsurf.git/commit/0a6e8fc0b072da21c7ec9c8d602b7ffad6bd4100
...tree
http://git.netsurf-browser.org/netsurf.git/tree/0a6e8fc0b072da21c7ec9c8d602b7ffad6bd4100
The branch, master has been updated
via 0a6e8fc0b072da21c7ec9c8d602b7ffad6bd4100 (commit)
from ff312f214e58ceb5b509540a64671d82f82701da (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=0a6e8fc0b072da21c7ec9c8d602b7ffad6bd4100
commit 0a6e8fc0b072da21c7ec9c8d602b7ffad6bd4100
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>
fix beos throbber allocation
diff --git a/frontends/beos/throbber.cpp b/frontends/beos/throbber.cpp
index 27ed423..315afef 100644
--- a/frontends/beos/throbber.cpp
+++ b/frontends/beos/throbber.cpp
@@ -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);
-----------------------------------------------------------------------
Summary of changes:
frontends/beos/throbber.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/frontends/beos/throbber.cpp b/frontends/beos/throbber.cpp
index 27ed423..315afef 100644
--- a/frontends/beos/throbber.cpp
+++ b/frontends/beos/throbber.cpp
@@ -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);
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org