diff options
author | Jonathan Bastien-Filiatrault | 2007-10-26 18:09:06 -0400 |
---|---|---|
committer | Jonathan Bastien-Filiatrault | 2007-11-05 18:13:30 -0500 |
commit | 3845e177e4e0b231efb6fda0ac3cd3a2d8f34d4b (patch) | |
tree | 548671b6339e9a1a252ded4d534f11bfcd560043 /shared.c | |
parent | 72ede12551af320b6d8eade853dbd2cd6f2222cc (diff) | |
download | cgit-3845e177e4e0b231efb6fda0ac3cd3a2d8f34d4b.tar.gz cgit-3845e177e4e0b231efb6fda0ac3cd3a2d8f34d4b.tar.bz2 cgit-3845e177e4e0b231efb6fda0ac3cd3a2d8f34d4b.zip |
Add commit->msg_encoding, allocate msg dynamicly.
Diffstat (limited to 'shared.c')
-rw-r--r-- | shared.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -265,6 +265,8 @@ void *cgit_free_commitinfo(struct commitinfo *info) | |||
265 | free(info->committer); | 265 | free(info->committer); |
266 | free(info->committer_email); | 266 | free(info->committer_email); |
267 | free(info->subject); | 267 | free(info->subject); |
268 | free(info->msg); | ||
269 | free(info->msg_encoding); | ||
268 | free(info); | 270 | free(info); |
269 | return NULL; | 271 | return NULL; |
270 | } | 272 | } |