free xbuf on exit edge

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15040 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
Marcus Meissner
2014-06-30 06:26:38 +00:00
parent 540daff7d5
commit 119fa0bd3c

View File

@@ -297,6 +297,7 @@ pdc320_0c (Camera *camera, int n)
}
CR (gp_port_read (camera->port, (char *)buf, 2));
/* checksum is calculated from both, but i am not clear how. */
free (xbuf);
return GP_OK;
}