aboutsummaryrefslogtreecommitdiff
path: root/driver-ti.c
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-10-09 23:53:35 +0100
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-10-09 23:53:35 +0100
commit37156ad580a07413383d3ca5d95f19ea1bc1f716 (patch)
treea184d83d1c25c9a493ca9ee8fb29e2ca75aa77cd /driver-ti.c
parent2b08f88f19b0270c9db993c940181535c33a71b3 (diff)
downloadtermo-37156ad580a07413383d3ca5d95f19ea1bc1f716.tar.gz
termo-37156ad580a07413383d3ca5d95f19ea1bc1f716.tar.xz
termo-37156ad580a07413383d3ca5d95f19ea1bc1f716.zip
Added some TODO notes about handling realloc() failures
Diffstat (limited to 'driver-ti.c')
-rw-r--r--driver-ti.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver-ti.c b/driver-ti.c
index 00090bd..9b67c4f 100644
--- a/driver-ti.c
+++ b/driver-ti.c
@@ -180,7 +180,7 @@ static void register_seq(termkey_ti *ti, const char *seq, termkey_type type, ter
if(ti->nseqs == ti->alloced_seqs) {
ti->alloced_seqs *= 2;
void *newseqs = realloc(ti->seqs, ti->alloced_seqs * sizeof(ti->seqs[9]));
- // TODO: Error handle
+ // TODO: Handle realloc() failure
ti->seqs = newseqs;
}