diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2011-12-01 18:57:05 +0100 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2011-12-05 12:03:13 +0100 |
| commit | e9212301d3b9267e1a146df47b2107485173436a (patch) | |
| tree | b908556a4c8419bb16d32eb826d40069c5d63563 /lasso/xml | |
| parent | 5c2fc3b5dcbfb8d0753bef84c3861a3d29f02608 (diff) | |
| download | lasso-e9212301d3b9267e1a146df47b2107485173436a.tar.gz lasso-e9212301d3b9267e1a146df47b2107485173436a.tar.xz lasso-e9212301d3b9267e1a146df47b2107485173436a.zip | |
[tools] fix lasso_sha1 to return a glib allocated string
Diffstat (limited to 'lasso/xml')
| -rw-r--r-- | lasso/xml/tools.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lasso/xml/tools.c b/lasso/xml/tools.c index e5de3b78..63873453 100644 --- a/lasso/xml/tools.c +++ b/lasso/xml/tools.c @@ -909,7 +909,7 @@ lasso_sha1(const char *str) if (str == NULL) return NULL; - md = xmlMalloc(20); + md = g_malloc(20); return (char*)SHA1((unsigned char*)str, strlen(str), md); } |
