Fossil SCM

Fix build break when the TH1 docs feature is enabled.

mistachkin 2014-10-21 03:23 trunk
Commit 6d4e5d801e5958ae30f3841d3edaec432c517e0a
1 file changed -1
-1
--- src/doc.c
+++ src/doc.c
@@ -531,11 +531,10 @@
531531
}else if( db_get_boolean("th1-docs", 0) &&
532532
fossil_strcmp(zMime, "application/x-th1")==0 ){
533533
style_header("%h", zName);
534534
Th_Render(blob_str(&filebody));
535535
style_footer();
536
- fossil_free(zHtml);
537536
#endif
538537
}else{
539538
cgi_set_content_type(zMime);
540539
cgi_set_content(&filebody);
541540
}
542541
--- src/doc.c
+++ src/doc.c
@@ -531,11 +531,10 @@
531 }else if( db_get_boolean("th1-docs", 0) &&
532 fossil_strcmp(zMime, "application/x-th1")==0 ){
533 style_header("%h", zName);
534 Th_Render(blob_str(&filebody));
535 style_footer();
536 fossil_free(zHtml);
537 #endif
538 }else{
539 cgi_set_content_type(zMime);
540 cgi_set_content(&filebody);
541 }
542
--- src/doc.c
+++ src/doc.c
@@ -531,11 +531,10 @@
531 }else if( db_get_boolean("th1-docs", 0) &&
532 fossil_strcmp(zMime, "application/x-th1")==0 ){
533 style_header("%h", zName);
534 Th_Render(blob_str(&filebody));
535 style_footer();
 
536 #endif
537 }else{
538 cgi_set_content_type(zMime);
539 cgi_set_content(&filebody);
540 }
541

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button