diff options
badwolf.c: Use malloc() instead of calloc() for initialising the struct pointer
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | badwolf.c | 2 |
@@ -135,7 +135,7 @@ static gboolean javascriptCb_toggled(GtkButton *javascript, gpointer user_data) int main(int argc, char *argv[]) { - struct Client *browser = calloc(1, sizeof(struct Client)); + struct Client *browser = malloc(sizeof(struct Client)); char *target_url = "about:blank"; gtk_init(&argc, &argv); |