Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cpdb/cpdb-frontend.c
Original file line number Diff line number Diff line change
Expand Up @@ -1320,6 +1320,7 @@ char *cpdbPrintFileWithJobTitle(cpdb_printer_obj_t *p,
logerror("Error connecting to backend for printing file %s on %s %s: %s\n",
file_path, p->id, p->backend_name, strerror(errno));
g_free(socket_path);
fclose(file);
return NULL;
}

Expand Down Expand Up @@ -1602,6 +1603,8 @@ void cpdbPicklePrinterToFile(cpdb_printer_obj_t *p,
{
logerror("Error pickling printer %s %s: Couldn't get unique bus name\n",
p->id, p->backend_name);
fclose(fp);
free(path);
return;
}

Expand Down
Loading