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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user