Gitweb links:
...log
http://git.netsurf-browser.org/libcss.git/shortlog/4729f01919b7ba3f99abfea8900931616fbb8320
...commit
http://git.netsurf-browser.org/libcss.git/commit/4729f01919b7ba3f99abfea8900931616fbb8320
...tree
http://git.netsurf-browser.org/libcss.git/tree/4729f01919b7ba3f99abfea8900931616fbb8320
The branch, master has been updated
via 4729f01919b7ba3f99abfea8900931616fbb8320 (commit)
from cb99ab8db4246f28e4bbf25f4e1ef7716473602a (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/libcss.git/commit/?id=4729f01919b7ba3f99abfea8900931616fbb8320
commit 4729f01919b7ba3f99abfea8900931616fbb8320
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>
Select: Squash error-path leak.
If we allocated a font-face array previously, and failed to extend
it, then we failed to free it on the error path.
diff --git a/src/select/select.c b/src/select/select.c
index a44ef4a..f1c3637 100644
--- a/src/select/select.c
+++ b/src/select/select.c
@@ -1942,7 +1942,6 @@ static css_error _select_font_face_from_rule(
new_faces = realloc(faces->font_faces, new_size);
if (new_faces == NULL) {
- faces->count = 0;
return CSS_NOMEM;
}
faces->font_faces = new_faces;
-----------------------------------------------------------------------
Summary of changes:
src/select/select.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/select/select.c b/src/select/select.c
index a44ef4a..f1c3637 100644
--- a/src/select/select.c
+++ b/src/select/select.c
@@ -1942,7 +1942,6 @@ static css_error _select_font_face_from_rule(
new_faces = realloc(faces->font_faces, new_size);
if (new_faces == NULL) {
- faces->count = 0;
return CSS_NOMEM;
}
faces->font_faces = new_faces;
--
Cascading Style Sheets library
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org