git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14430
//printf("SERVER: send %c%c%c%c\n", res->data[0], res->data[1], res->data[2], res->data[3]); fflush(stdout);
/* So, success. */
- if (req) free_Frame(req);
- if (res) free_Frame(res);
+ free_Frame(req);
+ free_Frame(res);
return False; /* "connection still in use" */
// Is there any difference between these?
return img;
fail:
- if (req) free_Frame(req);
+ free_Frame(req);
if (res) {
UChar* reason = NULL;
if (parse_Frame_asciiz(res, "FAIL", &reason)) {
ULong crc32 = 0;
if (!parse_Frame_le64(res, "CROK", &crc32)) goto remote_crc_fail;
if ((crc32 & ~0xFFFFFFFFULL) != 0) goto remote_crc_fail;
- if (req) free_Frame(req);
- if (res) free_Frame(res);
+ free_Frame(req);
+ free_Frame(res);
return (UInt)crc32;
remote_crc_fail: