diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-12-15 10:45:09 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-12-15 10:45:09 +0000 |
commit | c6a6c1afe19a91af5032017cc31cf00d8fc5ccaa (patch) | |
tree | ea8789f89fedcb864a3a88306f7689074434ae1d /src/parse/properties/utils.c | |
parent | ebd008dce42eaf30ee0de0e86c8597589d5e1b97 (diff) | |
download | libcss-c6a6c1afe19a91af5032017cc31cf00d8fc5ccaa.tar.gz libcss-c6a6c1afe19a91af5032017cc31cf00d8fc5ccaa.tar.bz2 |
Fix destruction of wrong style. Coverity #1137922.
Diffstat (limited to 'src/parse/properties/utils.c')
-rw-r--r-- | src/parse/properties/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse/properties/utils.c b/src/parse/properties/utils.c index bfcba04..d73c6c7 100644 --- a/src/parse/properties/utils.c +++ b/src/parse/properties/utils.c @@ -168,7 +168,7 @@ css_error css__parse_border_side(css_language *c, error = css__stylesheet_style_create(c->sheet, &width_style); if (error != CSS_OK) { css__stylesheet_style_destroy(color_style); - css__stylesheet_style_destroy(width_style); + css__stylesheet_style_destroy(style_style); return error; } |