Fossil SCM
Fix [http://comments.gmane.org/gmane.comp.version-control.fossil-scm.user/17313]
Commit
dcb60765724a6c2cb52b1ce059235800cde5dd63
Parent
016fc1aea4c0b97…
1 file changed
+2
-2
+2
-2
| --- src/finfo.c | ||
| +++ src/finfo.c | ||
| @@ -199,15 +199,15 @@ | ||
| 199 | 199 | const char *zBr = db_column_text(&q, 5); |
| 200 | 200 | char *zOut; |
| 201 | 201 | if( zBr==0 ) zBr = "trunk"; |
| 202 | 202 | if( iBrief ){ |
| 203 | 203 | fossil_print("%s ", zDate); |
| 204 | - zOut = sqlite3_mprintf( | |
| 204 | + zOut = mprintf( | |
| 205 | 205 | "[%S] %s (user: %s, artifact: [%S], branch: %s)", |
| 206 | 206 | zCiUuid, zCom, zUser, zFileUuid, zBr); |
| 207 | 207 | comment_print(zOut, zCom, 11, iWidth, g.comFmtFlags); |
| 208 | - sqlite3_free(zOut); | |
| 208 | + fossil_free(zOut); | |
| 209 | 209 | }else{ |
| 210 | 210 | blob_reset(&line); |
| 211 | 211 | blob_appendf(&line, "%.10s ", zCiUuid); |
| 212 | 212 | blob_appendf(&line, "%.10s ", zDate); |
| 213 | 213 | blob_appendf(&line, "%8.8s ", zUser); |
| 214 | 214 |
| --- src/finfo.c | |
| +++ src/finfo.c | |
| @@ -199,15 +199,15 @@ | |
| 199 | const char *zBr = db_column_text(&q, 5); |
| 200 | char *zOut; |
| 201 | if( zBr==0 ) zBr = "trunk"; |
| 202 | if( iBrief ){ |
| 203 | fossil_print("%s ", zDate); |
| 204 | zOut = sqlite3_mprintf( |
| 205 | "[%S] %s (user: %s, artifact: [%S], branch: %s)", |
| 206 | zCiUuid, zCom, zUser, zFileUuid, zBr); |
| 207 | comment_print(zOut, zCom, 11, iWidth, g.comFmtFlags); |
| 208 | sqlite3_free(zOut); |
| 209 | }else{ |
| 210 | blob_reset(&line); |
| 211 | blob_appendf(&line, "%.10s ", zCiUuid); |
| 212 | blob_appendf(&line, "%.10s ", zDate); |
| 213 | blob_appendf(&line, "%8.8s ", zUser); |
| 214 |
| --- src/finfo.c | |
| +++ src/finfo.c | |
| @@ -199,15 +199,15 @@ | |
| 199 | const char *zBr = db_column_text(&q, 5); |
| 200 | char *zOut; |
| 201 | if( zBr==0 ) zBr = "trunk"; |
| 202 | if( iBrief ){ |
| 203 | fossil_print("%s ", zDate); |
| 204 | zOut = mprintf( |
| 205 | "[%S] %s (user: %s, artifact: [%S], branch: %s)", |
| 206 | zCiUuid, zCom, zUser, zFileUuid, zBr); |
| 207 | comment_print(zOut, zCom, 11, iWidth, g.comFmtFlags); |
| 208 | fossil_free(zOut); |
| 209 | }else{ |
| 210 | blob_reset(&line); |
| 211 | blob_appendf(&line, "%.10s ", zCiUuid); |
| 212 | blob_appendf(&line, "%.10s ", zDate); |
| 213 | blob_appendf(&line, "%8.8s ", zUser); |
| 214 |