[dev] [sselp] [patch] Offset increment

2015-01-19 Thread Virgile Andreani
returned value starts at byte index I in the property > (indexing from zero), and its length in bytes is L. Hence the patch, replacing `len` with `len/4`. Sincerely, Virgile Andreani diff --git a/sselp.c b/sselp.c index 362e397..bf7643e 100644 --- a/sselp.c +++ b/sselp.c @@ -35,7 +35,7 @

[dev] [lsw] [patch] Memory leak from XGetTextProperty

2014-04-12 Thread Virgile Andreani
rty is dynamically allocated at every successful run of this function, and even if nitem equals zero, in which case a bare '\0' is stored into the field. Hence this patch, which frees the value field at two places where this was not handled. Sincerely, Virgile Andreani diff --git a/lsw.c b/lsw