From c6a6c1afe19a91af5032017cc31cf00d8fc5ccaa Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sun, 15 Dec 2013 10:45:09 +0000 Subject: Fix destruction of wrong style. Coverity #1137922. --- src/parse/properties/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3