librss: simplify some NULL checks.
MFC after: 1 week
This commit is contained in:
parent
e69cea8126
commit
3a9d940a84
@ -244,10 +244,10 @@ rss_config_get(void)
|
||||
return (rc);
|
||||
|
||||
error:
|
||||
if ((rc != NULL) && rc->rss_bucket_map)
|
||||
if (rc != NULL) {
|
||||
free(rc->rss_bucket_map);
|
||||
if (rc != NULL)
|
||||
free(rc);
|
||||
}
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user