/* size of payloads sent across the session bus */
/** @cond PRIVATE */
-#define CHUNKSIZE (512 * 1024)
+#define CHUNKSIZE (4 * 1024 * 1024)
/** @endcond */
SR_PRIV struct sr_dev_driver session_driver_info;
return TRUE;
} else {
/* We got all the chunks, finish up. */
+ g_free(vdev->capturefile);
+ vdev->capturefile = NULL;
return FALSE;
}
}