git.samba.org
/
jelmer
/
ptabtools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ccec47
)
More minor fixes.
author
Jelmer Vernooij
<jelmer@samba.org>
Tue, 21 Jun 2005 02:25:56 +0000
(
03:25
+0100)
committer
Jelmer Vernooij
<jelmer@samba.org>
Tue, 21 Jun 2005 02:25:56 +0000
(
03:25
+0100)
ptb.c
patch
|
blob
|
history
ptbinfo.c
patch
|
blob
|
history
diff --git
a/ptb.c
b/ptb.c
index 51008ecc453da5f6c763ad6402ce264d41be0e71..7a3b90f093abea5711fda72281637651e7131ba7 100644
(file)
--- a/
ptb.c
+++ b/
ptb.c
@@
-782,7
+782,7
@@
static int handle_CGuitarIn (struct ptbf *bf, const char *section, struct ptb_li
struct ptb_guitarin *guitarin = GET_ITEM(bf, dest, struct ptb_guitarin);
ptb_data(bf, &guitarin->section, 1);
- ptb_data_constant(bf, 0x0);
/* FIXME */
+ ptb_data_constant(bf, 0x0);
ptb_data(bf, &guitarin->staff, 1);
ptb_data(bf, &guitarin->offset, 1);
ptb_data(bf, &guitarin->rhythm_slash, 1);
@@
-1092,6
+1092,7
@@
static void ptb_free_font(struct ptb_font *f)
static void ptb_free_position(struct ptb_position *pos)
{
+ free(pos->additional);
FREE_LIST(pos->linedatas, free(tmp->bends), struct ptb_linedata *);
}
diff --git
a/ptbinfo.c
b/ptbinfo.c
index 79439183c58efbcd146f07d1c4420f1162bb9985..a5dad6279b780bd23ddb94004e147f36fce53b0f 100644
(file)
--- a/
ptbinfo.c
+++ b/
ptbinfo.c
@@
-440,5
+440,7
@@
int main(int argc, const char **argv)
printf("Tablature Font: "); write_font(&ret->tablature_font); printf("\n");
}
+ ptb_free(ret);
+
return (ret?0:1);
}