fix mem free bug with printercache - from anders flick
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@597 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
10ec4b3b70
commit
3032e6b514
@ -79,6 +79,8 @@ printercache_load_blob(char *printer_name, uint8 ** data)
|
||||
if (printer_name == NULL)
|
||||
return 0;
|
||||
|
||||
*data = NULL;
|
||||
|
||||
home = getenv("HOME");
|
||||
if (home == NULL)
|
||||
return 0;
|
||||
@ -160,7 +162,7 @@ printercache_process(STREAM s)
|
||||
}
|
||||
break;
|
||||
|
||||
/*case 1:*/
|
||||
/*case 1: */
|
||||
// TODO: I think this one just tells us what printer is on LPT? but why?
|
||||
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user