This commit is contained in:
Nathan Hoad 2014-02-18 00:45:37 +11:00
commit e30e2e3a57
1 changed files with 1 additions and 1 deletions

2
bar.c
View File

@ -421,7 +421,6 @@ get_randr_outputs(void)
num = xcb_randr_get_screen_resources_current_outputs_length(rres_reply);
outputs = xcb_randr_get_screen_resources_current_outputs(rres_reply);
config_timestamp = rres_reply->config_timestamp;
free(rres_reply);
if (num < 1) {
fprintf(stderr, "Failed to get current randr outputs\n");
return;
@ -505,6 +504,7 @@ get_randr_outputs(void)
j++;
}
}
free(rres_reply);
}
void