Reduce some code around frees
This commit is contained in:
@ -54,9 +54,7 @@ void init_dpi(void) {
|
||||
DLOG("Found Xft.dpi = %ld.\n", dpi);
|
||||
|
||||
init_dpi_end:
|
||||
if (resource != NULL) {
|
||||
free(resource);
|
||||
}
|
||||
free(resource);
|
||||
|
||||
if (database != NULL) {
|
||||
xcb_xrm_database_free(database);
|
||||
|
Reference in New Issue
Block a user