Bath towels, fold to length and then wrap around tight enough to hold legs straight. Secure with 2 or 3 bands of duct tape. It will be loose enough to not cut off circulation but stiff enough to work.
Good for about 3 days max, then take off and redo, legs will sweat, and get an awful smell plus infection if you don't.