summaryrefslogtreecommitdiff
path: root/pico/attach.c
diff options
context:
space:
mode:
Diffstat (limited to 'pico/attach.c')
-rw-r--r--pico/attach.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pico/attach.c b/pico/attach.c
index d05a1d3e..302947a6 100644
--- a/pico/attach.c
+++ b/pico/attach.c
@@ -544,6 +544,8 @@ SyncAttach(void)
strncpy(tp->filename, file, j);
tp->filename[j] = '\0';
+
+ if(tp->id) fs_give((void **) &tp->id);
}
else if(tp->size && strcmp(tp->size, size)){
rv = 1;